1 1.5 thorpej /* $NetBSD: isadmareg.h,v 1.5 1997/06/06 23:43:56 thorpej Exp $ */ 2 1.2 cgd 3 1.4 cgd #include <dev/ic/i8237reg.h> 4 1.1 mycroft 5 1.1 mycroft /* 6 1.1 mycroft * Register definitions for DMA controller 1 (channels 0..3): 7 1.1 mycroft */ 8 1.5 thorpej #define DMA1_CHN(c) (1*(2*(c))) /* addr reg for channel c */ 9 1.5 thorpej #define DMA1_SR (1*8) /* status register */ 10 1.5 thorpej #define DMA1_SMSK (1*10) /* single mask register */ 11 1.5 thorpej #define DMA1_MODE (1*11) /* mode register */ 12 1.5 thorpej #define DMA1_FFC (1*12) /* clear first/last FF */ 13 1.5 thorpej 14 1.5 thorpej #define DMA1_IOSIZE (1*12) 15 1.1 mycroft 16 1.1 mycroft /* 17 1.1 mycroft * Register definitions for DMA controller 2 (channels 4..7): 18 1.1 mycroft */ 19 1.5 thorpej #define DMA2_CHN(c) (2*(2*(c))) /* addr reg for channel c */ 20 1.5 thorpej #define DMA2_SR (2*8) /* status register */ 21 1.5 thorpej #define DMA2_SMSK (2*10) /* single mask register */ 22 1.5 thorpej #define DMA2_MODE (2*11) /* mode register */ 23 1.5 thorpej #define DMA2_FFC (2*12) /* clear first/last FF */ 24 1.5 thorpej 25 1.5 thorpej #define DMA2_IOSIZE (2*12) 26