xref: /csrg-svn/sys/hp300/dev/dmavar.h (revision 63151)
141480Smckusick /*
2*63151Sbostic  * Copyright (c) 1982, 1990, 1993
3*63151Sbostic  *	The Regents of the University of California.  All rights reserved.
441480Smckusick  *
541480Smckusick  * %sccs.include.redist.c%
641480Smckusick  *
7*63151Sbostic  *	@(#)dmavar.h	8.1 (Berkeley) 06/10/93
841480Smckusick  */
941480Smckusick 
1041480Smckusick /* dmago flags */
1145484Smckusick #define	DMAGO_BYTE	0x00	/* do byte (8 bit) transfers */
1245484Smckusick #define	DMAGO_WORD	0x01	/* do word (16 bit) transfers */
1345484Smckusick #define	DMAGO_LWORD	0x02	/* do longword (32 bit) transfers */
1445484Smckusick #define	DMAGO_PRI	0x04	/* do "priority" DMA */
1545484Smckusick #define	DMAGO_READ	0x08	/* transfer is a read */
1645484Smckusick #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