mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
PCI: Delay enabling bridges until they're needed
We currently enable PCI bridges after scanning a bus and assigning resources. This is often done in arch code. This patch changes this so we don't enable a bridge until necessary, i.e., until we enable a PCI device behind the bridge. We do this in the generic pci_enable_device() path, so this also removes the arch-specific code to enable bridges. [bhelgaas: changelog] Signed-off-by: Yinghai Lu <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
This commit is contained in:
parent
55ed83a615
commit
928bea9648
13 changed files with 23 additions and 42 deletions
|
|
@ -1590,7 +1590,6 @@ lba_driver_probe(struct parisc_device *dev)
|
|||
lba_dump_res(&lba_dev->hba.lmmio_space, 2);
|
||||
#endif
|
||||
}
|
||||
pci_enable_bridges(lba_bus);
|
||||
|
||||
/*
|
||||
** Once PCI register ops has walked the bus, access to config
|
||||
|
|
|
|||
Loading…
Reference in a new issue