isa-dma.h 495 B

1234567891011121314151617181920212223242526
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * arch/arm/mach-rpc/include/mach/isa-dma.h
  4. *
  5. * Copyright (C) 1997 Russell King
  6. */
  7. #ifndef __ASM_ARCH_DMA_H
  8. #define __ASM_ARCH_DMA_H
  9. #define MAX_DMA_CHANNELS 8
  10. #define DMA_0 0
  11. #define DMA_1 1
  12. #define DMA_2 2
  13. #define DMA_3 3
  14. #define DMA_S0 4
  15. #define DMA_S1 5
  16. #define DMA_VIRTUAL_FLOPPY 6
  17. #define DMA_VIRTUAL_SOUND 7
  18. #define DMA_FLOPPY DMA_VIRTUAL_FLOPPY
  19. #define IOMD_DMA_BOUNDARY (PAGE_SIZE - 1)
  20. #endif /* _ASM_ARCH_DMA_H */