From: Bjorn Helgaas Date: Fri, 28 Oct 2011 22:28:19 +0000 (-0600) Subject: xtensa/PCI: convert to pci_scan_root_bus() for correct root bus resources X-Git-Tag: v3.3-rc1~101^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ec303a7247a46a7a88a4f890466fd12dbdd5dc6;p=pandora-kernel.git xtensa/PCI: convert to pci_scan_root_bus() for correct root bus resources Convert from pci_scan_bus() to pci_scan_root_bus() and remove root bus fixups. This fixes the problem of "early" and "header" quirks seeing incorrect root bus resources. This arch was unusual because it filled in bus->resource[0..3] in pcibios_init(), then overwrote them, applied io_space.offset and checked for unset resources in pcibios_fixup_bus(). I moved all of that to a new pci_controller_apertures() that we can use before scanning the root bus. CC: Chris Zankel Signed-off-by: Bjorn Helgaas Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed