From: Yinghai Lu Date: Mon, 22 Jul 2013 21:37:17 +0000 (-0700) Subject: PCI: Delay enabling bridges until they're needed X-Git-Tag: v3.12-rc1~177^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=928bea964827d7824b548c1f8e06eccbbc4d0d7d;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed