diff options
author | Michael Brown | 2005-04-13 01:05:00 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-13 01:05:00 +0200 |
commit | 4e3e389200c08054aed55eb58fa8c0b8a9c5331c (patch) | |
tree | a428a83798ef188a790558ecb40ae0b0c10e0cd2 /src/drivers/net/prism2_plx.c | |
parent | Use dev's print_info method to print standardised information about (diff) | |
download | ipxe-4e3e389200c08054aed55eb58fa8c0b8a9c5331c.tar.gz ipxe-4e3e389200c08054aed55eb58fa8c0b8a9c5331c.tar.xz ipxe-4e3e389200c08054aed55eb58fa8c0b8a9c5331c.zip |
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/prism2_plx.c')
-rw-r--r-- | src/drivers/net/prism2_plx.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/drivers/net/prism2_plx.c b/src/drivers/net/prism2_plx.c index 65954f75..59b80fad 100644 --- a/src/drivers/net/prism2_plx.c +++ b/src/drivers/net/prism2_plx.c @@ -31,12 +31,8 @@ PCI_ROM(0xec80, 0xec00, "f5d6000", "Belkin F5D6000"), PCI_ROM(0x126c, 0x8030, "emobility", "Nortel emobility"), }; -static struct pci_driver prism2_plx_driver __pci_driver = { - .type = NIC_DRIVER, - .name = "Prism2_PLX", - .probe = prism2_plx_probe, - .ids = prism2_plx_nics, - .id_count = sizeof(prism2_plx_nics)/sizeof(prism2_plx_nics[0]), - .class = 0, -}; +static struct pci_driver prism2_plx_driver = + PCI_DRIVER ( "Prism2_PLX", prism2_plx_nics, PCI_NO_CLASS ); + +BOOT_DRIVER ( "Prism2_PLX", prism2_plx_probe ); |