Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / dev / ic / i8237reg.h
blob1944b844184cace6016ebd2e9445bf8be228b053
1 /* $NetBSD: i8237reg.h,v 1.6.56.1 2005/03/04 16:41:28 skrll Exp $ */
3 /*
4 * Intel 8237 DMA Controller
5 */
7 #define DMA37MD_WRITE 0x04 /* read the device, write memory operation */
8 #define DMA37MD_READ 0x08 /* write the device, read memory operation */
9 #define DMA37MD_LOOP 0x10 /* auto-initialize mode */
10 #define DMA37MD_DEMAND 0x00 /* demand mode */
11 #define DMA37MD_SINGLE 0x40 /* single mode */
12 #define DMA37MD_BLOCK 0x80 /* block mode */
13 #define DMA37MD_CASCADE 0xc0 /* cascade mode */
15 #define DMA37SM_CLEAR 0x00 /* clear mask bit */
16 #define DMA37SM_SET 0x04 /* set mask bit */