lib: add NO_GENERIC_PCI_IOPORT_MAP
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 29 Jan 2012 22:20:48 +0000 (00:20 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 31 Jan 2012 21:19:47 +0000 (23:19 +0200)
commitb923650b84068b74b6df838aa8f9b2a350171de6
treed6d366da5427816210dc15c7c401e4a7910092c4
parent0a9626575400879d1d5e6bc8768188b938d7c501
lib: add NO_GENERIC_PCI_IOPORT_MAP

Some architectures need to override the way
IO port mapping is done on PCI devices.
Supply a generic macro that calls
ioport_map, and make it possible for architectures
to override.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/pci_iomap.h
lib/Kconfig
lib/pci_iomap.c