summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/i8237.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/i8237.h')
-rw-r--r--sys/dev/ic/i8237.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/ic/i8237.h b/sys/dev/ic/i8237.h
new file mode 100644
index 0000000..dc269f2
--- /dev/null
+++ b/sys/dev/ic/i8237.h
@@ -0,0 +1,9 @@
+/*
+ * 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 */
+
OpenPOWER on IntegriCloud