ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-tbox / dma.h
1 /*
2  * linux/include/asm-arm/arch-tbox/dma.h
3  *
4  * Architecture DMA routines.  We have to contend with the bizarre DMA
5  * machine built into the Tbox hardware.
6  *
7  * Copyright (C) 1998 Philip Blundell
8  */
9
10 /*
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version
14  * 2 of the License, or (at your option) any later version.
15  */
16
17 /*
18  * DMA channel definitions.  Some of these are physically strange but
19  * we sort it out inside dma.c so the user never has to care.  The
20  * exception is the double-buffering which we can't really abstract
21  * away sensibly.
22  */
23 #define DMA_VIDEO                       0
24 #define DMA_MPEG_B                      1
25 #define DMA_AUDIO_B                     2
26 #define DMA_ASHRX_B                     3
27 #define DMA_ASHTX                       4
28 #define DMA_MPEG                        5
29 #define DMA_AUDIO                       6
30 #define DMA_ASHRX                       7
31
32 #define MAX_DMA_CHANNELS                0       /* XXX */
33
34 /*
35  * This is the maximum DMA address that can be DMAd to.
36  */
37 #define MAX_DMA_ADDRESS         0xffffffff