summaryrefslogtreecommitdiff
path: root/sys/dev/ic/i8237reg.h
blob: 0f5d80ba6e8da4e06988c929f68c97b07878a385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*	$NetBSD: i8237reg.h,v 1.6 1997/05/29 21:42:28 mycroft Exp $	*/

/*
 * Intel 8237 DMA Controller
 */

#define	DMA37MD_WRITE	0x04	/* read the device, write memory operation */
#define	DMA37MD_READ	0x08	/* write the device, read memory operation */
#define	DMA37MD_LOOP	0x10	/* auto-initialize mode */
#define	DMA37MD_DEMAND	0x00	/* demand mode */
#define	DMA37MD_SINGLE	0x40	/* single mode */
#define	DMA37MD_BLOCK	0x80	/* block mode */
#define	DMA37MD_CASCADE	0xc0	/* cascade mode */
	
#define	DMA37SM_CLEAR	0x00	/* clear mask bit */
#define	DMA37SM_SET	0x04	/* set mask bit */