aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/3c90x.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2005-04-12 23:05:00 +0000
committerMichael Brown <mcb30@etherboot.org>2005-04-12 23:05:00 +0000
commit4e3e389200c08054aed55eb58fa8c0b8a9c5331c (patch)
treea428a83798ef188a790558ecb40ae0b0c10e0cd2 /src/drivers/net/3c90x.c
parent241fb0f3cd3665ea8805b119989a50c76bcc8639 (diff)
downloadipxe-4e3e389200c08054aed55eb58fa8c0b8a9c5331c.tar.gz
Auto-updated using
perl -pi -0777 -e 's/static struct pci_driver (\w+) __pci_driver = {.*\.name\s*=\s*(\"\S+\").*\.probe\s*=\s*(\w+).*\.ids\s*=\s*(\w+).*\.class\s*=\s*(\w+).*?};/static struct pci_driver $1 =\n\tPCI_DRIVER ( $2, $4, $5 );\n\nBOOT_DRIVER ( $2, $3 );/ms' *.c perl -pi -e 's/(PCI_DRIVER \(.*, )0 \);/${1}PCI_NO_CLASS );/' *.c
Diffstat (limited to 'src/drivers/net/3c90x.c')
-rw-r--r--src/drivers/net/3c90x.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/drivers/net/3c90x.c b/src/drivers/net/3c90x.c
index 1c8b7e445..7919c9e51 100644
--- a/src/drivers/net/3c90x.c
+++ b/src/drivers/net/3c90x.c
@@ -986,11 +986,7 @@ PCI_ROM(0x10b7, 0x1201, "3c982a", "3Com982A"),
PCI_ROM(0x10b7, 0x1202, "3c982b", "3Com982B"),
};
-static struct pci_driver a3c90x_driver __pci_driver = {
- .type = NIC_DRIVER,
- .name = "3C90X",
- .probe = a3c90x_probe,
- .ids = a3c90x_nics,
- .id_count = sizeof(a3c90x_nics)/sizeof(a3c90x_nics[0]),
- .class = 0,
-};
+static struct pci_driver a3c90x_driver =
+ PCI_DRIVER ( "3C90X", a3c90x_nics, PCI_NO_CLASS );
+
+BOOT_DRIVER ( "3C90X", a3c90x_probe );