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:
@@ -684,6 +684,8 @@ static int mtd_probe ( struct dev *dev, struct pci_device *pci ) {
|
||||
/* Mask the bit that says "this is an io addr" */
|
||||
mtdx.ioaddr = pci->ioaddr;
|
||||
|
||||
adjust_pci_device(pci);
|
||||
|
||||
mtdx.nic_name = dev->name;
|
||||
mtdx.dev_id = pci->dev_id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user