diff options
author | Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 2009-06-03 11:16:04 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-11-13 12:10:37 -0500 |
commit | f8ac04255dc8baa1c018e8028222d842efa56e6b (patch) | |
tree | 4aedfaf3f4a2e5f0ffbc3280fa94e48e10ac9e38 /arch/mips/Kconfig | |
parent | da0bac33413b2888d3623dad3ad19ce76b688f07 (diff) |
MIPS: Add DMA declare coherent memory support
The ohci-sm501 driver requires dma_declare_coherent_memory(). It is used
by the driver's local memory allocation with dma_alloc_coherent().
Tested on TANBAC TB0287(VR4131 + SM501).
[Ralf: Fixed reject in dma-default.c and removed the entire #if 0'ed block
in dma-mapping.h instead of just the #if 0.]
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 03bd56a2fb6e..1aad0d9f5074 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1,6 +1,7 @@ | |||
1 | config MIPS | 1 | config MIPS |
2 | bool | 2 | bool |
3 | default y | 3 | default y |
4 | select HAVE_GENERIC_DMA_COHERENT | ||
4 | select HAVE_IDE | 5 | select HAVE_IDE |
5 | select HAVE_OPROFILE | 6 | select HAVE_OPROFILE |
6 | select HAVE_ARCH_KGDB | 7 | select HAVE_ARCH_KGDB |