xtensa/PCI: Use generic pci_mmap_resource_range()
Commit f7195824 ("PCI: Add pci_mmap_resource_range() and use it for ARM64") added this generic function with the intent of using it everywhere and ultimately killing the old arch-specific implementations. Remove the xtensa-specific pci_mmap_page_range() and use the generic pci_mmap_resource_range() instead. Xtensa can mmap I/O port space, so supply the xtensa-specific pci_iobar_pfn() required to make that work. Signed-off-by: NDavid Woodhouse <dwmw@amazon.co.uk> [bhelgaas: changelog] Signed-off-by: NBjorn Helgaas <helgaas@kernel.org> Acked-by: NMax Filippov <jcmvbkbc@gmail.com>
Showing
想要评论请 注册 或 登录