patch-2.3.16 linux/include/asm-sh/dma.h
Next file: linux/include/asm-sh/elf.h
Previous file: linux/include/asm-sh/delay.h
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Mon Aug 30 18:12:59 1999
-  Orig file: 
v2.3.15/linux/include/asm-sh/dma.h
-  Orig date: 
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.3.15/linux/include/asm-sh/dma.h linux/include/asm-sh/dma.h
@@ -0,0 +1,12 @@
+#ifndef __ASM_SH_DMA_H
+#define __ASM_SH_DMA_H
+
+/* Don't define MAX_DMA_ADDRESS; it's useless on the SuperH 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 /* __ASM_SH_DMA_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)