summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorRalf Baechle2005-09-04 00:56:19 +0200
committerLinus Torvalds2005-09-05 09:06:07 +0200
commit4ce588cd563e6b817adb0c7d03b3ed9c74cadc27 (patch)
treea20158d65f21e9fcf2ef9a7c50462905adfec248 /arch/mips/Kconfig
parent[PATCH] mips: nuke trailing whitespace (diff)
downloadkernel-qcow2-linux-4ce588cd563e6b817adb0c7d03b3ed9c74cadc27.tar.gz
kernel-qcow2-linux-4ce588cd563e6b817adb0c7d03b3ed9c74cadc27.tar.xz
kernel-qcow2-linux-4ce588cd563e6b817adb0c7d03b3ed9c74cadc27.zip
[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 d892a23fa978..60ba382ea7f3 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