summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/Kconfig
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ozlabs.org>2011-04-11 21:25:01 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-04-27 14:18:27 +1000
commit21176fed25c3b0cb17c6c42d71b4e3d68b8f9dd4 (patch)
treebd3b54affe6feda4966b688a218bb2bd0bc82611 /arch/powerpc/platforms/Kconfig
parente297d9dd5cfafbeb2e7585bb444941848e030454 (diff)
downloadlwn-21176fed25c3b0cb17c6c42d71b4e3d68b8f9dd4.tar.gz
lwn-21176fed25c3b0cb17c6c42d71b4e3d68b8f9dd4.zip
powerpc/pci: Split IO vs MMIO indirect access hooks
The goal is to avoid adding overhead to MMIO when only PIO is needed Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/Kconfig')
-rw-r--r--arch/powerpc/platforms/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 658ffc50493d..54db9fbab1dc 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -154,11 +154,17 @@ config PPC_P7_NAP
config PPC_INDIRECT_IO
bool
select GENERIC_IOMAP
- default n
+
+config PPC_INDIRECT_PIO
+ bool
+ select PPC_INDIRECT_IO
+
+config PPC_INDIRECT_MMIO
+ bool
+ select PPC_INDIRECT_IO
config GENERIC_IOMAP
bool
- default n
source "drivers/cpufreq/Kconfig"