summaryrefslogtreecommitdiff
path: root/sys/dev/ic/i8237reg.h
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-04 23:07:50 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-04 23:07:50 +0000
commit6d390ef20aafaccbbde43de45fbca41cd9ce48ca (patch)
tree8f616304e9445e4a7d8cffaf3636503a5c6ade41 /sys/dev/ic/i8237reg.h
parent9d45192e11d7889069d2af923f81c9af0c4fd6ee (diff)
Add new manifest constant for demand mode DMA; form NetBSD
Diffstat (limited to 'sys/dev/ic/i8237reg.h')
-rw-r--r--sys/dev/ic/i8237reg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/i8237reg.h b/sys/dev/ic/i8237reg.h
index 53900cc02ea..f8cc8330747 100644
--- a/sys/dev/ic/i8237reg.h
+++ b/sys/dev/ic/i8237reg.h
@@ -1,10 +1,11 @@
-/* $OpenBSD: i8237reg.h,v 1.2 1996/04/18 23:47:19 niklas Exp $ */
+/* $OpenBSD: i8237reg.h,v 1.3 1999/08/04 23:07:49 niklas Exp $ */
/* $NetBSD: i8237reg.h,v 1.5 1996/03/01 22:27:09 mycroft Exp $ */
/*
* Intel 8237 DMA Controller
*/
+#define DMA37MD_DEMAND 0x00 /* demand mode */
#define DMA37MD_WRITE 0x04 /* read the device, write memory operation */
#define DMA37MD_READ 0x08 /* write the device, read memory operation */
#define DMA37MD_LOOP 0x10 /* auto-initialize mode */