summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/dma.h')
-rw-r--r--include/asm-m68k/dma.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-m68k/dma.h b/include/asm-m68k/dma.h
index 2820f20a1..af73a0f6f 100644
--- a/include/asm-m68k/dma.h
+++ b/include/asm-m68k/dma.h
@@ -1,6 +1,12 @@
#ifndef _M68K_DMA_H
#define _M68K_DMA_H 1
-/* dummy for m68k */
+/* Don't define MAX_DMA_ADDRESS; it's useless on the m68k and any
+ occurrence should be flagged as an error. */
+
+#define MAX_DMA_CHANNELS 8
+
+extern int request_dma(unsigned int dmanr, const char * device_id); /* reserve a DMA channel */
+extern void free_dma(unsigned int dmanr); /* release it again */
#endif /* _M68K_DMA_H */