summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/io.h')
-rw-r--r--include/asm-mips/io.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/asm-mips/io.h b/include/asm-mips/io.h
index bc9390c2a..7d97af3f6 100644
--- a/include/asm-mips/io.h
+++ b/include/asm-mips/io.h
@@ -6,6 +6,8 @@
*/
#undef CONF_SLOWDOWN_IO
+#include <linux/config.h>
+
#include <asm/mipsconfig.h>
#include <asm/addrspace.h>
@@ -377,19 +379,24 @@ __OUTS(w,l,4)
/*
* The caches on some architectures aren't dma-coherent and have need to
- * handle this in software. There are two types of operations that
+ * handle this in software. There are three types of operations that
* can be applied to dma buffers.
*
* - dma_cache_wback_inv(start, size) makes caches and coherent by
* writing the content of the caches back to memory, if necessary.
* The function also invalidates the affected part of the caches as
* necessary before DMA transfers from outside to memory.
+ * - dma_cache_wback(start, size) makes caches and coherent by
+ * writing the content of the caches back to memory, if necessary.
+ * The function also invalidates the affected part of the caches as
+ * necessary before DMA transfers from outside to memory.
* - dma_cache_inv(start, size) invalidates the affected parts of the
* caches. Dirty lines of the caches may be written back or simply
* be discarded. This operation is necessary before dma operations
* to the memory.
*/
extern void (*dma_cache_wback_inv)(unsigned long start, unsigned long size);
+extern void (*dma_cache_wback)(unsigned long start, unsigned long size);
extern void (*dma_cache_inv)(unsigned long start, unsigned long size);
#endif /* __ASM_MIPS_IO_H */