From: Bjorn Helgaas Date: Fri, 24 Feb 2012 03:19:00 +0000 (-0700) Subject: PCI: add struct pci_host_bridge_window with CPU/bus address offset X-Git-Tag: v3.4-rc1~114^2~28^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0efd5aab41e18a1175f72641696cfda154ba6c87;p=pandora-kernel.git PCI: add struct pci_host_bridge_window with CPU/bus address offset Some PCI host bridges apply an address offset, so bus addresses on PCI are different from CPU addresses. This patch adds a way for architectures to tell the PCI core about this offset. For example: LIST_HEAD(resources); pci_add_resource_offset(&resources, host->io_space, host->io_offset); pci_add_resource_offset(&resources, host->mem_space, host->mem_offset); pci_scan_root_bus(parent, bus, ops, sysdata, &resources); Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed