mirror of
https://github.com/ipxe/ipxe
synced 2026-04-04 03:00:20 +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:
@@ -1234,9 +1234,6 @@ static int tulip_probe ( struct dev *dev ) {
|
||||
int chip_idx;
|
||||
static unsigned char last_phys_addr[ETH_ALEN] = {0x00, 'L', 'i', 'n', 'u', 'x'};
|
||||
|
||||
if ( ! find_pci_device ( pci, &tulip_driver ) )
|
||||
return 0;
|
||||
|
||||
if (pci->ioaddr == 0)
|
||||
return 0;
|
||||
|
||||
@@ -2080,4 +2077,4 @@ PCI_ROM(0x1737, 0xab09, "tulip-ab09", "Tulip 0x1737 0xab09"),
|
||||
static struct pci_driver tulip_driver =
|
||||
PCI_DRIVER ( "Tulip", tulip_nics, PCI_NO_CLASS );
|
||||
|
||||
BOOT_DRIVER ( "Tulip", tulip_probe );
|
||||
BOOT_DRIVER ( "Tulip", find_pci_boot_device, tulip_driver, tulip_probe );
|
||||
|
||||
Reference in New Issue
Block a user