summaryrefslogtreecommitdiff
path: root/sys/dev/hil/hilreg.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-11 00:11:06 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-11 00:11:06 +0000
commitcd81217034d23fa8aa970c8780709caf30d4b151 (patch)
tree8ca9db080209650ca64b8460df1d3b4f2c37aead /sys/dev/hil/hilreg.h
parent44101ba4b541339e5661d2ae9b8cffddc7defa82 (diff)
Reliability fixes:
- Let the loop initialize completely before attempting to probe its devices. Fixes the "no answer from device 1" problem. - Handle ``loop unplugged'' events and force detach of all children in this case.
Diffstat (limited to 'sys/dev/hil/hilreg.h')
-rw-r--r--sys/dev/hil/hilreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/hil/hilreg.h b/sys/dev/hil/hilreg.h
index 50fbe3c8b5c..3ff370da0b1 100644
--- a/sys/dev/hil/hilreg.h
+++ b/sys/dev/hil/hilreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hilreg.h,v 1.4 2003/06/02 23:28:01 millert Exp $ */
+/* $OpenBSD: hilreg.h,v 1.5 2005/01/11 00:11:05 miod Exp $ */
/* $NetBSD: hilreg.h,v 1.6 1997/02/02 09:39:21 thorpej Exp $ */
/*
@@ -48,7 +48,9 @@
#define HIL_POLLDATA 0x10 /* HIL poll data follows */
#define HIL_COMMAND 0x08 /* Start of original command */
#define HIL_ERROR 0x80 /* HIL error */
+
#define HIL_RECONFIG 0x80 /* HIL has reconfigured */
+#define HIL_UNPLUGGED 0x84 /* HIL cable unplugged */
#define HIL_SSHIFT 4 /* Bits to shift status over */
#define HIL_SMASK 0x0f /* Service request status mask */