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:
Michael Brown
2005-04-14 15:00:05 +00:00
parent 393969a3f8
commit 2c60617836
22 changed files with 22 additions and 88 deletions

View File

@@ -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 );