diff options
| author | Michael Brown | 2005-04-14 17:00:05 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-14 17:00:05 +0200 |
| commit | 2c6061783617c6afce60ebb1b298602ce96359d2 (patch) | |
| tree | 6e29fe1736f3a64f752d2f2975be194f9dd9584a /src/drivers/net/forcedeth.c | |
| parent | Fix up the automatic modifications. (diff) | |
| download | ipxe-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/forcedeth.c')
| -rw-r--r-- | src/drivers/net/forcedeth.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/drivers/net/forcedeth.c b/src/drivers/net/forcedeth.c index 85f8d796..31a5d675 100644 --- a/src/drivers/net/forcedeth.c +++ b/src/drivers/net/forcedeth.c @@ -947,9 +947,6 @@ static int forcedeth_probe ( struct dev *dev, struct pci_device *pci ) { int sz; u8 *base; - if ( ! find_pci_device ( pci, &forcedeth_driver ) ) - return 0; - if (pci->ioaddr == 0) return 0; @@ -1038,4 +1035,4 @@ static int forcedeth_probe ( struct dev *dev, struct pci_device *pci ) { /* else */ } -BOOT_DRIVER ( "forcedeth", forcedeth_probe ); +BOOT_DRIVER ( "forcedeth", find_pci_boot_device, forcedeth_driver, forcedeth_probe ); |
