From: Liviu Dudau Date: Mon, 29 Sep 2014 14:29:30 +0000 (+0100) Subject: PCI: Add pci_remap_iospace() to map bus I/O resources X-Git-Tag: omap-for-v3.19/prcm-cleanup~136^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b921acfeffdb0b45085da862fc301a2d25ed2cf;p=pandora-kernel.git PCI: Add pci_remap_iospace() to map bus I/O resources Add pci_remap_iospace() to map bus I/O resources into the CPU virtual address space. Architectures with special needs may provide their own version, but most should be able to use this one. This function is useful for PCI host bridge drivers that need to map the PCI I/O resources into virtual memory space. [bhelgaas: phys_addr description, drop temporary "err" variable] Signed-off-by: Liviu Dudau Signed-off-by: Bjorn Helgaas Reviewed-by: Rob Herring Reviewed-by: Catalin Marinas CC: Arnd Bergmann --- Reading git-diff-tree failed