[DO NOT MERGE v5 10/37] sh: Common PCI Framework driver support.
Arnd Bergmann
arnd at arndb.de
Tue Dec 5 13:05:11 UTC 2023
On Tue, Dec 5, 2023, at 10:45, Yoshinori Sato wrote:
> +
> +#if defined(CONFIG_PCI) && !defined(CONFIG_GENERIC_IOMAP)
> +void pci_iounmap(struct pci_dev *dev, void __iomem *addr)
> +{
> + iounmap(addr);
> +}
> +EXPORT_SYMBOL(pci_iounmap);
This definition does not work for addresses that are
returned by ioport_map(), include pci_iomap() on
IORESOURCE_IO. However, the definition in lib/pci_iomap.c
should work fine, you just need to #define ARCH_WANTS_GENERIC_PCI_IOUNMAP
to get that.
Arnd
More information about the dri-devel
mailing list