summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/tg3.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-26 14:19:39 +0200
committerMichael Brown2005-04-26 14:19:39 +0200
commit7e534b585fca690c57dcd4de6c5b63f61a6f7b3f (patch)
tree55856d1e4f4de4a0b9ecb0c894cd6f0f6604057f /src/drivers/net/tg3.c
parentBIOS floppy handling code moved to where it will really live. (diff)
downloadipxe-7e534b585fca690c57dcd4de6c5b63f61a6f7b3f.tar.gz
ipxe-7e534b585fca690c57dcd4de6c5b63f61a6f7b3f.tar.xz
ipxe-7e534b585fca690c57dcd4de6c5b63f61a6f7b3f.zip
Automatically updated with
perl -pi -0777 -e 's/^static struct \w+_driver (\w+) =\s*(\w+_DRIVER \()/${2} ${1},/msg' *.c
Diffstat (limited to 'src/drivers/net/tg3.c')
-rw-r--r--src/drivers/net/tg3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/net/tg3.c b/src/drivers/net/tg3.c
index d284bbf2..4cdd54e7 100644
--- a/src/drivers/net/tg3.c
+++ b/src/drivers/net/tg3.c
@@ -3384,8 +3384,7 @@ PCI_ROM(0x173b, 0x03ea, "tg3-ac9100", "Altima AC9100"),
PCI_ROM(0x173b, 0x03eb, "tg3-ac1003", "Altima AC1003"),
};
-static struct pci_driver tg3_driver =
- PCI_DRIVER ( tg3_nics, PCI_NO_CLASS );
+PCI_DRIVER ( tg3_driver, tg3_nics, PCI_NO_CLASS );
DRIVER ( "TG3", nic_driver, pci_driver, tg3_driver,
tg3_probe, tg3_disable );