summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/rtl8139.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/rtl8139.c')
-rw-r--r--src/drivers/net/rtl8139.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/drivers/net/rtl8139.c b/src/drivers/net/rtl8139.c
index ee078d54c..485e39e89 100644
--- a/src/drivers/net/rtl8139.c
+++ b/src/drivers/net/rtl8139.c
@@ -541,11 +541,7 @@ PCI_ROM(0x14ea, 0xab07, "fnw3800tx", "Planex FNW-3800-TX"),
PCI_ROM(0xffff, 0x8139, "clone-rtl8139", "Cloned 8139"),
};
-static struct pci_driver rtl8139_driver __pci_driver = {
- .type = NIC_DRIVER,
- .name = "RTL8139",
- .probe = rtl8139_probe,
- .ids = rtl8139_nics,
- .id_count = sizeof(rtl8139_nics)/sizeof(rtl8139_nics[0]),
- .class = 0,
-};
+static struct pci_driver rtl8139_driver =
+ PCI_DRIVER ( "RTL8139", rtl8139_nics, PCI_NO_CLASS );
+
+BOOT_DRIVER ( "RTL8139", rtl8139_probe );