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>
Showing
- arch/arm/kernel/bios32.c 0 additions, 5 deletionsarch/arm/kernel/bios32.c
- arch/m68k/platform/coldfire/pci.c 0 additions, 1 deletionarch/m68k/platform/coldfire/pci.c
- arch/mips/pci/pci.c 0 additions, 1 deletionarch/mips/pci/pci.c
- arch/sh/drivers/pci/pci.c 0 additions, 1 deletionarch/sh/drivers/pci/pci.c
- drivers/acpi/pci_root.c 0 additions, 3 deletionsdrivers/acpi/pci_root.c
- drivers/parisc/lba_pci.c 0 additions, 1 deletiondrivers/parisc/lba_pci.c
- drivers/pci/bus.c 0 additions, 19 deletionsdrivers/pci/bus.c
- drivers/pci/hotplug/acpiphp_glue.c 0 additions, 1 deletiondrivers/pci/hotplug/acpiphp_glue.c
- drivers/pci/pci.c 20 additions, 0 deletionsdrivers/pci/pci.c
- drivers/pci/probe.c 0 additions, 1 deletiondrivers/pci/probe.c
- drivers/pci/setup-bus.c 3 additions, 7 deletionsdrivers/pci/setup-bus.c
- drivers/pcmcia/cardbus.c 0 additions, 1 deletiondrivers/pcmcia/cardbus.c
- include/linux/pci.h 0 additions, 1 deletioninclude/linux/pci.h
Loading
Please register or sign in to comment