mirror of
https://github.com/ipxe/ipxe
synced 2025-12-19 02:50:25 +03:00
Place the call to adjust_pci_device() back in the individual drivers,
since we probably shouldn't be doing this to arbitrary devices during a PCI bus scan...
This commit is contained in:
@@ -962,12 +962,11 @@ rhine_probe ( struct dev *dev, struct pci_device *pci ) {
|
||||
return 0;
|
||||
rhine_probe1 (nic, pci, pci->ioaddr, pci->dev_id, -1);
|
||||
|
||||
adjust_pci_device ( pci );
|
||||
rhine_reset (nic);
|
||||
nic->nic_op = &rhine_operations;
|
||||
nic->irqno = pci->irq;
|
||||
nic->ioaddr = tp->ioaddr;
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user