summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/eepro100.c
diff options
context:
space:
mode:
authorMichael Brown2005-04-14 17:00:05 +0200
committerMichael Brown2005-04-14 17:00:05 +0200
commit2c6061783617c6afce60ebb1b298602ce96359d2 (patch)
tree6e29fe1736f3a64f752d2f2975be194f9dd9584a /src/drivers/net/eepro100.c
parentFix up the automatic modifications. (diff)
downloadipxe-2c6061783617c6afce60ebb1b298602ce96359d2.tar.gz
ipxe-2c6061783617c6afce60ebb1b298602ce96359d2.tar.xz
ipxe-2c6061783617c6afce60ebb1b298602ce96359d2.zip
Automatically modified by
perl -pi -0777 -e 's/\s*?if\s*\(\s*!\s*find_pci_device.*?,\s*\&(\w+)\s*\)\s*\)\s*return\s*0;(.*BOOT_DRIVER\s*\(.*?,)(.*?\))/$2 find_pci_boot_device, $1,$3/sm' *.c
Diffstat (limited to 'src/drivers/net/eepro100.c')
-rw-r--r--src/drivers/net/eepro100.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/drivers/net/eepro100.c b/src/drivers/net/eepro100.c
index c37557bb5..1e1b38c47 100644
--- a/src/drivers/net/eepro100.c
+++ b/src/drivers/net/eepro100.c
@@ -615,9 +615,6 @@ static int eepro100_probe ( struct dev *dev, struct pci_device *pci ) {
be careful not to access beyond this array */
unsigned short eeprom[16];
- if ( ! find_pci_device ( p, &eepro100_driver ) )
- return 0;
-
if (p->ioaddr == 0)
return 0;
ioaddr = p->ioaddr;
@@ -840,4 +837,4 @@ PCI_ROM(0x8086, 0x5201, "eepro100-5201", "Intel EtherExpress PRO/100 Intelligent
static struct pci_driver eepro100_driver =
PCI_DRIVER ( "EEPRO100", eepro100_nics, PCI_NO_CLASS );
-BOOT_DRIVER ( "EEPRO100", eepro100_probe );
+BOOT_DRIVER ( "EEPRO100", find_pci_boot_device, eepro100_driver, eepro100_probe );