summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/skel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/skel.c')
-rw-r--r--src/drivers/net/skel.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/drivers/net/skel.c b/src/drivers/net/skel.c
index 4b7f103a7..f020bcb5a 100644
--- a/src/drivers/net/skel.c
+++ b/src/drivers/net/skel.c
@@ -158,14 +158,10 @@ static struct pci_id skel_nics[] = {
PCI_ROM(0x0000, 0x0000, "skel-pci", "Skeleton PCI Adaptor"),
};
-static struct pci_driver skel_driver __pci_driver = {
- .type = NIC_DRIVER,
- .name = "SKELETON/PCI",
- .probe = skel_probe,
- .ids = skel_nics,
- .id_count = sizeof(skel_nics)/sizeof(skel_nics[0]),
- .class = 0,
-};
+static struct pci_driver skel_driver =
+ PCI_DRIVER ( "SKELETON/PCI", skel_nics, PCI_NO_CLASS );
+
+BOOT_DRIVER ( "SKELETON/PCI", skel_probe );
/**************************************************************************
PROBE - Look for an adapter, this routine's visible to the outside