isa-dma.h 641 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * arch/arm/mach-rpc/include/mach/isa-dma.h
  3. *
  4. * Copyright (C) 1997 Russell King
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __ASM_ARCH_DMA_H
  11. #define __ASM_ARCH_DMA_H
  12. #define MAX_DMA_CHANNELS 8
  13. #define DMA_0 0
  14. #define DMA_1 1
  15. #define DMA_2 2
  16. #define DMA_3 3
  17. #define DMA_S0 4
  18. #define DMA_S1 5
  19. #define DMA_VIRTUAL_FLOPPY 6
  20. #define DMA_VIRTUAL_SOUND 7
  21. #define DMA_FLOPPY DMA_VIRTUAL_FLOPPY
  22. #define IOMD_DMA_BOUNDARY (PAGE_SIZE - 1)
  23. #endif /* _ASM_ARCH_DMA_H */