summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/epic100.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/epic100.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/epic100.c')
-rw-r--r--src/drivers/net/epic100.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/drivers/net/epic100.c b/src/drivers/net/epic100.c
index 2cc57c47..32f32b28 100644
--- a/src/drivers/net/epic100.c
+++ b/src/drivers/net/epic100.c
@@ -105,9 +105,6 @@ epic100_probe ( struct dev *dev, struct pci_device *pci ) {
unsigned short* ap;
unsigned int phy, phy_idx;
- if ( ! find_pci_device ( pci, &epic100_driver ) )
- return 0;
-
if (pci->ioaddr == 0)
return 0;
@@ -521,4 +518,4 @@ PCI_ROM(0x10b8, 0x0006, "smc-83c175", "SMC EPIC/C 83c175"),
static struct pci_driver epic100_driver =
PCI_DRIVER ( "EPIC100", epic100_nics, PCI_NO_CLASS );
-BOOT_DRIVER ( "EPIC100", epic100_probe );
+BOOT_DRIVER ( "EPIC100", find_pci_boot_device, epic100_driver, epic100_probe );