18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * arch/arm/mach-footbridge/include/mach/isa-dma.h 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Architecture DMA routines 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * Copyright (C) 1998,1999 Russell King 88c2ecf20Sopenharmony_ci * Copyright (C) 1998,1999 Philip Blundell 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci#ifndef __ASM_ARCH_DMA_H 118c2ecf20Sopenharmony_ci#define __ASM_ARCH_DMA_H 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci/* 148c2ecf20Sopenharmony_ci * The 21285 has two internal DMA channels; we call these 8 and 9. 158c2ecf20Sopenharmony_ci * On CATS hardware we have an additional eight ISA dma channels 168c2ecf20Sopenharmony_ci * numbered 0..7. 178c2ecf20Sopenharmony_ci */ 188c2ecf20Sopenharmony_ci#define _ISA_DMA(x) (0+(x)) 198c2ecf20Sopenharmony_ci#define _DC21285_DMA(x) (8+(x)) 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#define MAX_DMA_CHANNELS 10 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci#define DMA_FLOPPY _ISA_DMA(2) 248c2ecf20Sopenharmony_ci#define DMA_ISA_CASCADE _ISA_DMA(4) 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#endif /* _ASM_ARCH_DMA_H */ 27