mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +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:
@@ -194,6 +194,8 @@ static int rtl8139_probe ( struct dev *dev, struct pci_device *pci ) {
|
||||
nic->ioaddr = pci->ioaddr;
|
||||
nic->irqno = pci->irq;
|
||||
|
||||
adjust_pci_device(pci);
|
||||
|
||||
/* Bring the chip out of low-power mode. */
|
||||
outb(0x00, nic->ioaddr + Config1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user