xref: /csrg-svn/sys/hp300/dev/dmavar.h (revision 45484)
141480Smckusick /*
241480Smckusick  * Copyright (c) 1982, 1990 The Regents of the University of California.
341480Smckusick  * All rights reserved.
441480Smckusick  *
541480Smckusick  * %sccs.include.redist.c%
641480Smckusick  *
7*45484Smckusick  *	@(#)dmavar.h	7.2 (Berkeley) 11/04/90
841480Smckusick  */
941480Smckusick 
1041480Smckusick /* dmago flags */
11*45484Smckusick #define	DMAGO_BYTE	0x00	/* do byte (8 bit) transfers */
12*45484Smckusick #define	DMAGO_WORD	0x01	/* do word (16 bit) transfers */
13*45484Smckusick #define	DMAGO_LWORD	0x02	/* do longword (32 bit) transfers */
14*45484Smckusick #define	DMAGO_PRI	0x04	/* do "priority" DMA */
15*45484Smckusick #define	DMAGO_READ	0x08	/* transfer is a read */
16*45484Smckusick #define	DMAGO_NOINT	0x80	/* don't interrupt on completion */
1741480Smckusick 
1841480Smckusick /* dma "controllers" (channels) */
1941480Smckusick #define	DMA0		0x1
2041480Smckusick #define	DMA1		0x2
2141480Smckusick 
2241480Smckusick #ifdef KERNEL
2341480Smckusick extern void	dmago(), dmafree();
2441480Smckusick extern int	dmareq();
2541480Smckusick #endif
26