2 * linux/include/asm-arm/arch-shark/dma.h
6 #ifndef __ASM_ARCH_DMA_H
7 #define __ASM_ARCH_DMA_H
9 /* Use only the lowest 4MB, nothing else works.
10 * The rest is not DMAable. See dev / .properties
13 #define MAX_DMA_ADDRESS 0xC0400000
14 #define MAX_DMA_CHANNELS 8
15 #define DMA_ISA_CASCADE 4
17 static inline void __arch_adjust_zones(int node, unsigned long *zone_size, unsigned long *zhole_size)
19 if (node != 0) return;
20 /* Only the first 4 MB (=1024 Pages) are usable for DMA */
21 zone_size[1] = zone_size[0] - 1024;
23 zhole_size[1] = zhole_size[0];
27 #define arch_adjust_zones(node,size,holes) __arch_adjust_zones(node,size,holes)
29 #endif /* _ASM_ARCH_DMA_H */