replace code with FIELD_SIZEOF
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-sh / cpu-sh2 / dma.h
blobd66b43cdc63733fc5e44b07d6cb31be53f1d6b7e
1 /*
2 * Definitions for the SH-2 DMAC.
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_CPU_SH2_DMA_H
11 #define __ASM_CPU_SH2_DMA_H
13 #define SH_MAX_DMA_CHANNELS 2
15 #define SAR ((unsigned long[]){ 0xffffff80, 0xffffff90 })
16 #define DAR ((unsigned long[]){ 0xffffff84, 0xffffff94 })
17 #define DMATCR ((unsigned long[]){ 0xffffff88, 0xffffff98 })
18 #define CHCR ((unsigned long[]){ 0xfffffffc, 0xffffff9c })
20 #define DMAOR 0xffffffb0
22 #endif /* __ASM_CPU_SH2_DMA_H */