mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +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:
@@ -473,9 +473,6 @@ static int t595_probe ( struct dev *dev, struct pci_device *pci ) {
|
||||
int i;
|
||||
unsigned short *p;
|
||||
|
||||
if ( ! find_pci_device ( pci, &t595_driver ) )
|
||||
return 0;
|
||||
|
||||
if (pci->ioaddr == 0)
|
||||
return 0;
|
||||
eth_nic_base = pci->ioaddr;
|
||||
@@ -543,7 +540,7 @@ PCI_ROM(0x10b7, 0x4500, "3c450-1", "3Com450 HomePNA Tornado"),
|
||||
static struct pci_driver t595_driver =
|
||||
PCI_DRIVER ( "3C595", t595_nics, PCI_NO_CLASS );
|
||||
|
||||
BOOT_DRIVER ( "3C595", t595_probe );
|
||||
BOOT_DRIVER ( "3C595", find_pci_boot_device, t595_driver, t595_probe );
|
||||
|
||||
/*
|
||||
* Local variables:
|
||||
|
||||
Reference in New Issue
Block a user