Commit | Line | Data |
---|---|---|
1c15e888 C |
1 | /* |
2 | * Copyright (c) 1982, 1990 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * Redistribution is only permitted until one year after the first shipment | |
6 | * of 4.4BSD by the Regents. Otherwise, redistribution and use in source and | |
7 | * binary forms are permitted provided that: (1) source distributions retain | |
8 | * this entire copyright notice and comment, and (2) distributions including | |
9 | * binaries display the following acknowledgement: This product includes | |
10 | * software developed by the University of California, Berkeley and its | |
11 | * contributors'' in the documentation or other materials provided with the | |
12 | * distribution and in all advertising materials mentioning features or use | |
13 | * of this software. Neither the name of the University nor the names of | |
14 | * its contributors may be used to endorse or promote products derived from | |
15 | * this software without specific prior written permission. | |
16 | * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | |
17 | * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | |
18 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
19 | * | |
20 | * @(#)dmavar.h 7.1 (Berkeley) 5/8/90 | |
21 | */ | |
22 | ||
23 | /* dmago flags */ | |
24 | #define DMAGO_BYTE 0x00 | |
25 | #define DMAGO_WORD 0x01 | |
26 | #define DMAGO_LWORD 0x02 | |
27 | #define DMAGO_PRI 0x04 | |
28 | #define DMAGO_READ 0x08 | |
29 | #define DMAGO_NOINT 0x80 | |
30 | ||
31 | /* dma "controllers" (channels) */ | |
32 | #define DMA0 0x1 | |
33 | #define DMA1 0x2 | |
34 | ||
35 | #ifdef KERNEL | |
36 | extern void dmago(), dmafree(); | |
37 | extern int dmareq(); | |
38 | #endif |