Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-sh / dreamcast / dma.h
blobddd68e7887054f2a8ca344d3e8e2ae4d038af059
1 /*
2 * include/asm-sh/dreamcast/dma.h
4 * Copyright (C) 2003 Paul Mundt
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
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
18 /* Channels for cascading */
19 #define PVR2_CASCADE_CHAN 2
20 #define G2_CASCADE_CHAN 3
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)
30 /* G2 DMA Register */
31 #define G2_DMA_BASE 0xa05f7800
33 #endif /* __ASM_SH_DREAMCAST_DMA_H */