summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-04-29 20:45:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-04-29 20:45:21 +0000
commit0f808ff13c7dfd44ed133037776aa8efab3d132f (patch)
treef6ed4045804b80ba48c3f9851c2aeddca7f3f826
parent99ab208b760274f1c176b61ffb8d92d4c68e5b1d (diff)
a few more aen definitions, from freebsd
-rw-r--r--sys/dev/ic/twereg.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/sys/dev/ic/twereg.h b/sys/dev/ic/twereg.h
index 657c7534185..7cd02350d01 100644
--- a/sys/dev/ic/twereg.h
+++ b/sys/dev/ic/twereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: twereg.h,v 1.5 2001/03/30 21:50:57 mickey Exp $ */
+/* $OpenBSD: twereg.h,v 1.6 2001/04/29 20:45:20 mickey Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -135,15 +135,21 @@
#define TWE_PARAM_DIR 0xffff /* param table directory */
#define TWE_AEN_QEMPTY 0x0000
-#define TWE_AEN_SRST 0x0001
+#define TWE_AEN_SRST 0x0001 /* soft reset */
#define TWE_AEN_DMIRROR 0x0002 /* degraded mirror */
#define TWE_AEN_CERROR 0x0003 /* controller error */
#define TWE_AEN_RBFAIL 0x0004 /* rebuild failed */
-#define TWE_AEN_RBDONE 0x0005
-/* TWE_AEN_ 0x0009 * dunno what this is (yet) */
+#define TWE_AEN_RBDONE 0x0005 /* rebuild done */
+#define TWE_AEN_ILLUN 0x0006 /* incompatible unit */
+#define TWE_AEN_INDONE 0x0007 /* init done */
+#define TWE_AEN_DSHUT 0x0008 /* unclean shutdown */
+#define TWE_AEN_APORT 0x0009 /* aport timeout */
+#define TWE_AEN_DRVERR 0x000a /* drive error */
+#define TWE_AEN_RBSTART 0x000b /* rebuild start */
#define TWE_AEN_ISTART 0x000c /* init started */
-#define TWE_AEN_QFULL 0x00ff
#define TWE_AEN_TUN 0x0015 /* table undefined */
+/* TWE_AEN_ 0x0000 * dunno what this is (yet) */
+#define TWE_AEN_QFULL 0x00ff
#pragma pack(1)