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/3c90x.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/3c90x.c')
| -rw-r--r-- | src/drivers/net/3c90x.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/drivers/net/3c90x.c b/src/drivers/net/3c90x.c index 52e6c28e..3993ea64 100644 --- a/src/drivers/net/3c90x.c +++ b/src/drivers/net/3c90x.c @@ -699,9 +699,6 @@ static int a3c90x_probe ( struct dev *dev, struct pci_device *pci ) { unsigned int mstat; unsigned short linktype; #define HWADDR_OFFSET 10 - - if ( ! find_pci_device ( pci, &a3c90x_driver ) ) - return 0; if (pci->ioaddr == 0) return 0; @@ -994,4 +991,4 @@ PCI_ROM(0x10b7, 0x1202, "3c982b", "3Com982B"), static struct pci_driver a3c90x_driver = PCI_DRIVER ( "3C90X", a3c90x_nics, PCI_NO_CLASS ); -BOOT_DRIVER ( "3C90X", a3c90x_probe ); +BOOT_DRIVER ( "3C90X", find_pci_boot_device, a3c90x_driver, a3c90x_probe ); |
