patch-1.3.94 linux/include/asm-m68k/dma.h
Next file: linux/include/asm-m68k/elf.h
Previous file: linux/include/asm-m68k/delay.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sat Apr 13 14:31:08 1996
- Orig file:
v1.3.93/linux/include/asm-m68k/dma.h
- Orig date:
Mon Nov 28 21:44:45 1994
diff -u --recursive --new-file v1.3.93/linux/include/asm-m68k/dma.h linux/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
+ occurence 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 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this