summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aacreg.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-04-22 02:36:29 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-04-22 02:36:29 +0000
commit359475550a15311cd16e2a0f31ffc172ea0ca6f5 (patch)
tree55f7460067a85c1127e13d94e0f6805e90fad359 /sys/dev/ic/aacreg.h
parenta58ae6c4545dff70e7d21f25585f9ed4bad78349 (diff)
Add support for the Adaptec RAID-On-Chip architecture. This in turn
provides support for the Adaptec 2130S and 2230SLP adapters. From FreeBSD ok dlg@
Diffstat (limited to 'sys/dev/ic/aacreg.h')
-rw-r--r--sys/dev/ic/aacreg.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/dev/ic/aacreg.h b/sys/dev/ic/aacreg.h
index 4557e1485e4..073b118885d 100644
--- a/sys/dev/ic/aacreg.h
+++ b/sys/dev/ic/aacreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: aacreg.h,v 1.7 2005/11/18 05:39:10 nate Exp $ */
+/* $OpenBSD: aacreg.h,v 1.8 2006/04/22 02:36:26 brad Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -1343,6 +1343,21 @@ enum {
#define AAC_RX_FWSTATUS 0x6c
/*
+ * Register definitions for the Adaptec 'Rocket' RAID-On-Chip adapters.
+ * Unsurprisingly, it's quite similar to the i960!
+ */
+
+#define AAC_RKT_IDBR 0x20 /* inbound doorbell register */
+#define AAC_RKT_IISR 0x24 /* inbound interrupt status register */
+#define AAC_RKT_IIMR 0x28 /* inbound interrupt mask register */
+#define AAC_RKT_ODBR 0x2c /* outbound doorbell register */
+#define AAC_RKT_OISR 0x30 /* outbound interrupt status register */
+#define AAC_RKT_OIMR 0x34 /* outbound interrupt mask register */
+
+#define AAC_RKT_MAILBOX 0x1000 /* mailbox */
+#define AAC_RKT_FWSTATUS 0x101c /* Firmware Status (mailbox 7) */
+
+/*
* Common bit definitions for the doorbell registers.
*/