From: Bjorn Helgaas Date: Fri, 24 Feb 2012 03:19:04 +0000 (-0700) Subject: sparc/PCI: get rid of device resource fixups X-Git-Tag: v3.4-rc1~114^2~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac1edcc579b6554211221ee5eeac7dfc15a6da17;p=pandora-kernel.git sparc/PCI: get rid of device resource fixups Tell the PCI core about host bridge address translation so it can take care of bus-to-resource conversion for us. N.B. Leon apparently never uses initial BAR values, so it didn't matter that we never fixed up the I/O resources from bus address to CPU addresses. Other sparc uses pci_of_scan_bus(), which sets device resources directly to CPU addresses, not bus addresses, so it didn't need pcibios_fixup_bus() either. But by telling the core about the offsets, we can nuke pcibios_resource_to_bus(). CC: "David S. Miller" CC: sparclinux@vger.kernel.org Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed