Import 2.2.0pre6
[davej-history.git] / include / asm-arm / arch-arc / dma.h
blob49e184769e7f411b82c97a71b04a69a20985c09a
1 /*
2 * linux/include/asm-arm/arch-arc/dma.h
4 * Copyright (C) 1996-1998 Russell King
6 * Acorn Archimedes/A5000 architecture virtual DMA
7 * implementation
9 * Modifications:
10 * 04-04-1998 RMK Merged arc and a5k versions
12 #ifndef __ASM_ARCH_DMA_H
13 #define __ASM_ARCH_DMA_H
15 #include <linux/config.h>
17 #define MAX_DMA_ADDRESS 0x03000000
19 #ifdef CONFIG_ARCH_ARC
20 #define MAX_DMA_CHANNELS 3
22 #define DMA_VIRTUAL_FLOPPY0 0
23 #define DMA_VIRTUAL_FLOPPY1 1
24 #define DMA_VIRTUAL_SOUND 2
25 #endif
27 #ifdef CONFIG_ARCH_A5K
28 #define MAX_DMA_CHANNELS 2
30 #define DMA_VIRTUAL_FLOPPY 0
31 #define DMA_VIRTUAL_SOUND 1
32 #define DMA_FLOPPY DMA_VIRTUAL_FLOPPY
33 #endif
35 #endif /* _ASM_ARCH_DMA_H */