home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / mach-h720x / include / mach / dma.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  549 b   |  27 lines

  1. /*
  2.  * arch/arm/mach-h720x/include/mach/dma.h
  3.  *
  4.  * Architecture DMA routes
  5.  *
  6.  * Copyright (C) 1997.1998 Russell King
  7.  */
  8. #ifndef __ASM_ARCH_DMA_H
  9. #define __ASM_ARCH_DMA_H
  10.  
  11. /*
  12.  * This is the maximum DMA address that can be DMAd to.
  13.  * There should not be more than (0xd0000000 - 0xc0000000)
  14.  * bytes of RAM.
  15.  */
  16. #define MAX_DMA_ADDRESS        0xd0000000
  17.  
  18. #if defined (CONFIG_CPU_H7201)
  19. #define MAX_DMA_CHANNELS    3
  20. #elif defined (CONFIG_CPU_H7202)
  21. #define MAX_DMA_CHANNELS    4
  22. #else
  23. #error processor definition missmatch
  24. #endif
  25.  
  26. #endif /* __ASM_ARCH_DMA_H */
  27.