summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/forcedeth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/forcedeth.c')
-rw-r--r--src/drivers/net/forcedeth.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/drivers/net/forcedeth.c b/src/drivers/net/forcedeth.c
index 326c4ccad..e5db3e7a9 100644
--- a/src/drivers/net/forcedeth.c
+++ b/src/drivers/net/forcedeth.c
@@ -1029,11 +1029,7 @@ static struct pci_id forcedeth_nics[] = {
PCI_ROM(0x10de, 0x00D6, "nforce3", "nForce3 Ethernet Controller"),
};
-static struct pci_driver forcedeth_driver __pci_driver = {
- .type = NIC_DRIVER,
- .name = "forcedeth",
- .probe = forcedeth_probe,
- .ids = forcedeth_nics,
- .id_count = sizeof(forcedeth_nics) / sizeof(forcedeth_nics[0]),
- .class = 0,
-};
+static struct pci_driver forcedeth_driver =
+ PCI_DRIVER ( "forcedeth", forcedeth_nics, PCI_NO_CLASS );
+
+BOOT_DRIVER ( "forcedeth", forcedeth_probe );