summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-03 15:56:19 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:06:07 -0700
commit4ce588cd563e6b817adb0c7d03b3ed9c74cadc27 (patch)
treea20158d65f21e9fcf2ef9a7c50462905adfec248 /arch/mips/Kconfig
parent42a3b4f25af8f8d77feddf27f839fa0628dbff1a (diff)
downloadop-kernel-dev-4ce588cd563e6b817adb0c7d03b3ed9c74cadc27.zip
op-kernel-dev-4ce588cd563e6b817adb0c7d03b3ed9c74cadc27.tar.gz
[PATCH] mips: fix coherency configuration
Fix the MIPS coherency configuration such that we always keep the mapping state in <asm/pci.h> when we need to on non-coherent platforms. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig14
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index d892a23..60ba382 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -951,13 +951,21 @@ config ARC
depends on SNI_RM200_PCI || SGI_IP32 || SGI_IP27 || SGI_IP22 || MIPS_MAGNUM_4000 || OLIVETTI_M700 || ACER_PICA_61
default y
-config DMA_COHERENT
+config DMA_COHERENT
bool
-config DMA_IP27
+config DMA_IP27
bool
-config DMA_NONCOHERENT
+config DMA_IP32
+ bool
+ select DMA_NEED_PCI_MAP_STATE
+
+config DMA_NONCOHERENT
+ bool
+ select DMA_NEED_PCI_MAP_STATE
+
+config DMA_NEED_PCI_MAP_STATE
bool
config EARLY_PRINTK
OpenPOWER on IntegriCloud