MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-arm / arch-moxacpu / dma.h-old-12132005
blob9ef245cad95128a330552e84968c4da7ae41b055
1 /*
2  * asm/arch-cpe/dma.h
3  * Mindspeed 2001
4  */
6 #ifndef __ASM_ARCH_DMA_H
7 #define __ASM_ARCH_DMA_H
9 #define MAX_DMA_ADDRESS         0xffffffff
10 #define MAX_DMA_CHANNELS        0
12 /* added by chris lee */
13 #define CPE_APB_DMA_MAX_CHANNEL         4       //paul
14 #define CPE_AHB_DMA_MAX_CHANNEL         8       //paul
15 /* end */
17 #ifdef CONFIG_INTER_SRAM   //added by ivan
18 static inline void __arch_adjust_zones(int node, unsigned long *size, unsigned long *holes)
20     if(node!=0)
21         return;
22     size[2]=CONFIG_SRAM_SIZE/PAGE_SIZE;
23     size[0]=size[0]-size[2];
25 #define arch_adjust_zones(node,size,holes)    __arch_adjust_zones(node,size,holes)
26 #endif  // CONFIG_INTER_SRAM
28 #endif /* _ASM_ARCH_DMA_H */