summaryrefslogtreecommitdiff
path: root/sys/dev/ic/i8237reg.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /sys/dev/ic/i8237reg.h
initial import of NetBSD tree
Diffstat (limited to 'sys/dev/ic/i8237reg.h')
-rw-r--r--sys/dev/ic/i8237reg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/dev/ic/i8237reg.h b/sys/dev/ic/i8237reg.h
new file mode 100644
index 00000000000..68a4e767930
--- /dev/null
+++ b/sys/dev/ic/i8237reg.h
@@ -0,0 +1,13 @@
+/* $NetBSD: i8237reg.h,v 1.4 1994/10/27 04:18:39 cgd Exp $ */
+
+/*
+ * Intel 8237 DMA Controller
+ */
+
+#define DMA37MD_SINGLE 0x40 /* single pass mode */
+#define DMA37MD_CASCADE 0xc0 /* cascade mode */
+#define DMA37MD_WRITE 0x04 /* read the device, write memory operation */
+#define DMA37MD_READ 0x08 /* write the device, read memory operation */
+
+#define DMA37SM_CLEAR 0x00 /* clear mask bit */
+#define DMA37SM_SET 0x04 /* set mask bit */