summaryrefslogtreecommitdiffstats
path: root/sys/dev/twe/twereg.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-05-07 21:46:44 +0000
committermsmith <msmith@FreeBSD.org>2001-05-07 21:46:44 +0000
commit070fb85396f929304a380050efc2e70fcf370daa (patch)
treef62ad0a81f7b2b28b649424c01829daec70317bf /sys/dev/twe/twereg.h
parentb47830be3e58e44dd6ae03b8dc4c9c034f7a2074 (diff)
downloadFreeBSD-src-070fb85396f929304a380050efc2e70fcf370daa.zip
FreeBSD-src-070fb85396f929304a380050efc2e70fcf370daa.tar.gz
Minor updates:
- Rework of twe_report_request to use the command status value rather than the flags register. (Joel Jacobson @ 3ware) - Update to match some changes in -current vs. stable. MFC in: 1 week
Diffstat (limited to 'sys/dev/twe/twereg.h')
-rw-r--r--sys/dev/twe/twereg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/twe/twereg.h b/sys/dev/twe/twereg.h
index 3d6d668..e7136df 100644
--- a/sys/dev/twe/twereg.h
+++ b/sys/dev/twe/twereg.h
@@ -124,6 +124,12 @@
#define TWE_OP_AEN_LISTEN 0x1c
#define TWE_OP_CMD_PACKET 0x1d
+/* command status values */
+#define TWE_STATUS_RESET 0xff /* controller requests reset */
+#define TWE_STATUS_FATAL 0xc0 /* fatal errors not requiring reset */
+#define TWE_STATUS_WARNING 0x80 /* warnings */
+#define TWE_STAUS_INFO 0x40 /* informative status */
+
/* misc defines */
#define TWE_ALIGNMENT 0x200
#define TWE_MAX_UNITS 16
OpenPOWER on IntegriCloud