summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorMichael S. Tsirkin2012-01-29 23:20:48 +0100
committerMichael S. Tsirkin2012-01-31 22:19:47 +0100
commitb923650b84068b74b6df838aa8f9b2a350171de6 (patch)
treed6d366da5427816210dc15c7c401e4a7910092c4 /lib/Kconfig
parentMerge tag 'driver-core-3.3-rc1-bugfixes' of git://git.kernel.org/pub/scm/linu... (diff)
downloadkernel-qcow2-linux-b923650b84068b74b6df838aa8f9b2a350171de6.tar.gz
kernel-qcow2-linux-b923650b84068b74b6df838aa8f9b2a350171de6.tar.xz
kernel-qcow2-linux-b923650b84068b74b6df838aa8f9b2a350171de6.zip
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>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 169eb7c598e5..1df13883481c 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -19,6 +19,9 @@ config RATIONAL
config GENERIC_FIND_FIRST_BIT
bool
+config NO_GENERIC_PCI_IOPORT_MAP
+ bool
+
config GENERIC_PCI_IOMAP
bool