mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 10:02:42 +03:00
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
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user