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:
@@ -787,9 +787,6 @@ static int tlan_probe ( struct dev *dev, struct pci_device *pci ) {
|
||||
int err;
|
||||
int i;
|
||||
|
||||
if ( ! find_pci_device ( pci, &tlan_driver ) )
|
||||
return 0;
|
||||
|
||||
if (pci->ioaddr == 0)
|
||||
return 0;
|
||||
|
||||
@@ -1717,4 +1714,4 @@ static struct pci_id tlan_nics[] = {
|
||||
static struct pci_driver tlan_driver =
|
||||
PCI_DRIVER ( "TLAN/PCI", tlan_nics, PCI_NO_CLASS );
|
||||
|
||||
BOOT_DRIVER ( "TLAN/PCI", tlan_probe );
|
||||
BOOT_DRIVER ( "TLAN/PCI", find_pci_boot_device, tlan_driver, tlan_probe );
|
||||
|
||||
Reference in New Issue
Block a user