xref: /csrg-svn/sys/hp300/dev/dmavar.h (revision 41480)
1*41480Smckusick /*
2*41480Smckusick  * Copyright (c) 1982, 1990 The Regents of the University of California.
3*41480Smckusick  * All rights reserved.
4*41480Smckusick  *
5*41480Smckusick  * %sccs.include.redist.c%
6*41480Smckusick  *
7*41480Smckusick  *	@(#)dmavar.h	7.1 (Berkeley) 05/08/90
8*41480Smckusick  */
9*41480Smckusick 
10*41480Smckusick /* dmago flags */
11*41480Smckusick #define DMAGO_BYTE	0x00
12*41480Smckusick #define DMAGO_WORD	0x01
13*41480Smckusick #define DMAGO_LWORD	0x02
14*41480Smckusick #define	DMAGO_PRI	0x04
15*41480Smckusick #define	DMAGO_READ	0x08
16*41480Smckusick #define	DMAGO_NOINT	0x80
17*41480Smckusick 
18*41480Smckusick /* dma "controllers" (channels) */
19*41480Smckusick #define	DMA0		0x1
20*41480Smckusick #define	DMA1		0x2
21*41480Smckusick 
22*41480Smckusick #ifdef KERNEL
23*41480Smckusick extern void	dmago(), dmafree();
24*41480Smckusick extern int	dmareq();
25*41480Smckusick #endif
26