patch-2.3.24 linux/include/asm-sh/dma.h

Next file: linux/include/asm-sh/highmem.h
Previous file: linux/include/asm-ppc/pgtable.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.23/linux/include/asm-sh/dma.h linux/include/asm-sh/dma.h
@@ -6,6 +6,10 @@
 
 #define MAX_DMA_CHANNELS 8
 
+/* The maximum address that we can perform a DMA transfer to on this platform */
+/* XXX: This is not applicable to SuperH, just needed for alloc_bootmem */
+#define MAX_DMA_ADDRESS      (PAGE_OFFSET+0x1000000)
+
 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 */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)