]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc32, leon/PCI: convert to pci_scan_root_bus() for correct root bus resources
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 28 Oct 2011 22:27:58 +0000 (16:27 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 12 Dec 2011 20:53:00 +0000 (12:53 -0800)
commit58a0c35d927eb6b29638c7eb324c569b7ff59ccf
tree10e1be78865943707d2ee24511744d4ca7323982
parentbe9f56fa1846b4df8b83eaf1fac556cbcb1d62ae
sparc32, leon/PCI: convert to pci_scan_root_bus() for correct root bus resources

Convert from pci_scan_bus_parented() to pci_scan_root_bus() and remove root
bus resource fixups.  This fixes the problem of "early" and "header" quirks
seeing incorrect root bus resources.

pci_scan_root_bus() also includes the pci_bus_add_devices() so we don't
need to do that separately.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/sparc/kernel/leon_pci.c