diff options
author | Yinghai Lu <yinghai@kernel.org> | 2013-07-22 17:37:17 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-07-25 14:35:03 -0400 |
commit | 928bea964827d7824b548c1f8e06eccbbc4d0d7d (patch) | |
tree | 13110a5f05a65aa487cee8be5bd58017986f4929 /drivers/parisc/lba_pci.c | |
parent | 55ed83a615730c2578da155bc99b68f4417ffe20 (diff) |
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 <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/parisc/lba_pci.c')
-rw-r--r-- | drivers/parisc/lba_pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c index 19f6f70c67d3..37e71ff6408d 100644 --- a/drivers/parisc/lba_pci.c +++ b/drivers/parisc/lba_pci.c | |||
@@ -1590,7 +1590,6 @@ lba_driver_probe(struct parisc_device *dev) | |||
1590 | lba_dump_res(&lba_dev->hba.lmmio_space, 2); | 1590 | lba_dump_res(&lba_dev->hba.lmmio_space, 2); |
1591 | #endif | 1591 | #endif |
1592 | } | 1592 | } |
1593 | pci_enable_bridges(lba_bus); | ||
1594 | 1593 | ||
1595 | /* | 1594 | /* |
1596 | ** Once PCI register ops has walked the bus, access to config | 1595 | ** Once PCI register ops has walked the bus, access to config |