summaryrefslogtreecommitdiff
path: root/sys/arch/aviion/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-10-23 10:07:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-10-23 10:07:15 +0000
commit0a855a73716d4fe9756848fbe8c78eb51571bb38 (patch)
tree9fe19150b497cc5481d8b4e0ba94151f52e20522 /sys/arch/aviion/include
parent14e6eb75fff5b96950832ec33edd2fa22c98ddcd (diff)
Checkpoint of work-in-progress DMA support for oaic(4). Not working yet,
probably due to incorrect programming of the system board ``Diagnostic Control Register'', for which I do not have documentation yet; commited so as not to lose this work, since the machine I was testing on has apparently commited suicide and will no longer POST.
Diffstat (limited to 'sys/arch/aviion/include')
-rw-r--r--sys/arch/aviion/include/board.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/aviion/include/board.h b/sys/arch/aviion/include/board.h
index 6946b1ad329..9102a931416 100644
--- a/sys/arch/aviion/include/board.h
+++ b/sys/arch/aviion/include/board.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: board.h,v 1.13 2013/10/10 21:24:59 miod Exp $ */
+/* $OpenBSD: board.h,v 1.14 2013/10/23 10:07:14 miod Exp $ */
/*
* Copyright (c) 2006, 2007, Miodrag Vallat
*
@@ -139,7 +139,8 @@ extern const struct board *platform;/* just to have people confuse both names */
#define INTSRC_ETHERNET2 8 /* second on-board Ethernet */
#define INTSRC_SCSI1 9 /* first on-board SCSI controller */
#define INTSRC_SCSI2 10 /* second on-board SCSI controller */
-#define NINTSRC_SYSCON 11 /* total number of non-VME sources */
+#define INTSRC_DMA 11 /* DMA completion interrupt */
+#define NINTSRC_SYSCON 12 /* total number of non-VME sources */
#define INTSRC_VME(lvl) (NINTSRC_SYSCON + (lvl) - 1) /* seven VME levels */
#define IS_VME_INTSRC(intsrc) ((intsrc) >= NINTSRC_SYSCON)