Home | History | Annotate | Line # | Download | only in ic
i8237reg.h revision 1.7
      1  1.7    perry /*	$NetBSD: i8237reg.h,v 1.7 2005/02/27 00:27:01 perry Exp $	*/
      2  1.4      cgd 
      3  1.1      cgd /*
      4  1.1      cgd  * Intel 8237 DMA Controller
      5  1.1      cgd  */
      6  1.1      cgd 
      7  1.5  mycroft #define	DMA37MD_WRITE	0x04	/* read the device, write memory operation */
      8  1.5  mycroft #define	DMA37MD_READ	0x08	/* write the device, read memory operation */
      9  1.5  mycroft #define	DMA37MD_LOOP	0x10	/* auto-initialize mode */
     10  1.6  mycroft #define	DMA37MD_DEMAND	0x00	/* demand mode */
     11  1.6  mycroft #define	DMA37MD_SINGLE	0x40	/* single mode */
     12  1.6  mycroft #define	DMA37MD_BLOCK	0x80	/* block mode */
     13  1.1      cgd #define	DMA37MD_CASCADE	0xc0	/* cascade mode */
     14  1.7    perry 
     15  1.3  mycroft #define	DMA37SM_CLEAR	0x00	/* clear mask bit */
     16  1.3  mycroft #define	DMA37SM_SET	0x04	/* set mask bit */
     17