diff options
author | Michael Ellerman <michael@ozlabs.org> | 2011-04-11 17:25:01 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-27 00:18:27 -0400 |
commit | 21176fed25c3b0cb17c6c42d71b4e3d68b8f9dd4 (patch) | |
tree | bd3b54affe6feda4966b688a218bb2bd0bc82611 /arch/powerpc/platforms/Kconfig | |
parent | e297d9dd5cfafbeb2e7585bb444941848e030454 (diff) |
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/Kconfig | 10 |
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 | |||
154 | config PPC_INDIRECT_IO | 154 | config PPC_INDIRECT_IO |
155 | bool | 155 | bool |
156 | select GENERIC_IOMAP | 156 | select GENERIC_IOMAP |
157 | default n | 157 | |
158 | config PPC_INDIRECT_PIO | ||
159 | bool | ||
160 | select PPC_INDIRECT_IO | ||
161 | |||
162 | config PPC_INDIRECT_MMIO | ||
163 | bool | ||
164 | select PPC_INDIRECT_IO | ||
158 | 165 | ||
159 | config GENERIC_IOMAP | 166 | config GENERIC_IOMAP |
160 | bool | 167 | bool |
161 | default n | ||
162 | 168 | ||
163 | source "drivers/cpufreq/Kconfig" | 169 | source "drivers/cpufreq/Kconfig" |
164 | 170 | ||