diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-sh/dreamcast/dma.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-sh/dreamcast/dma.h')
-rw-r--r-- | include/asm-sh/dreamcast/dma.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/asm-sh/dreamcast/dma.h b/include/asm-sh/dreamcast/dma.h new file mode 100644 index 000000000000..ddd68e788705 --- /dev/null +++ b/include/asm-sh/dreamcast/dma.h | |||
@@ -0,0 +1,34 @@ | |||
1 | /* | ||
2 | * include/asm-sh/dreamcast/dma.h | ||
3 | * | ||
4 | * Copyright (C) 2003 Paul Mundt | ||
5 | * | ||
6 | * This file is subject to the terms and conditions of the GNU General Public | ||
7 | * License. See the file "COPYING" in the main directory of this archive | ||
8 | * for more details. | ||
9 | */ | ||
10 | #ifndef __ASM_SH_DREAMCAST_DMA_H | ||
11 | #define __ASM_SH_DREAMCAST_DMA_H | ||
12 | |||
13 | /* Number of DMA channels */ | ||
14 | #define ONCHIP_NR_DMA_CHANNELS 4 | ||
15 | #define G2_NR_DMA_CHANNELS 4 | ||
16 | #define PVR2_NR_DMA_CHANNELS 1 | ||
17 | |||
18 | /* Channels for cascading */ | ||
19 | #define PVR2_CASCADE_CHAN 2 | ||
20 | #define G2_CASCADE_CHAN 3 | ||
21 | |||
22 | /* PVR2 DMA Registers */ | ||
23 | #define PVR2_DMA_BASE 0xa05f6800 | ||
24 | #define PVR2_DMA_ADDR (PVR2_DMA_BASE + 0) | ||
25 | #define PVR2_DMA_COUNT (PVR2_DMA_BASE + 4) | ||
26 | #define PVR2_DMA_MODE (PVR2_DMA_BASE + 8) | ||
27 | #define PVR2_DMA_LMMODE0 (PVR2_DMA_BASE + 132) | ||
28 | #define PVR2_DMA_LMMODE1 (PVR2_DMA_BASE + 136) | ||
29 | |||
30 | /* G2 DMA Register */ | ||
31 | #define G2_DMA_BASE 0xa05f7800 | ||
32 | |||
33 | #endif /* __ASM_SH_DREAMCAST_DMA_H */ | ||
34 | |||