mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 17:42:47 +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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user