mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 11:03:15 +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:
@@ -590,9 +590,6 @@ static int sundance_probe ( struct dev *dev, struct pci_device *pci ) {
|
||||
int i;
|
||||
int speed;
|
||||
|
||||
if ( ! find_pci_device ( pci, &sundance_driver ) )
|
||||
return 0;
|
||||
|
||||
if (pci->ioaddr == 0)
|
||||
return 0;
|
||||
|
||||
@@ -889,4 +886,4 @@ static struct pci_id sundance_nics[] = {
|
||||
static struct pci_driver sundance_driver =
|
||||
PCI_DRIVER ( "SUNDANCE/PCI", sundance_nics, PCI_NO_CLASS );
|
||||
|
||||
BOOT_DRIVER ( "SUNDANCE/PCI", sundance_probe );
|
||||
BOOT_DRIVER ( "SUNDANCE/PCI", find_pci_boot_device, sundance_driver, sundance_probe );
|
||||
|
||||
Reference in New Issue
Block a user