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 <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
This commit is contained in:
Michael S. Tsirkin 2012-01-30 00:20:48 +02:00
commit b923650b84
3 changed files with 14 additions and 1 deletions

View file

@ -19,6 +19,9 @@ config RATIONAL
config GENERIC_FIND_FIRST_BIT
bool
config NO_GENERIC_PCI_IOPORT_MAP
bool
config GENERIC_PCI_IOMAP
bool