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:
Michael Brown
2005-04-16 17:30:37 +00:00
parent b7c55c3951
commit 5ca20abf95
9 changed files with 16 additions and 6 deletions

View File

@@ -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;
}