summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx/aic7xxx_reg.h
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-11-16 01:07:35 +0000
committergibbs <gibbs@FreeBSD.org>1996-11-16 01:07:35 +0000
commit5c62ce19d54cfac14cbdb133e0e6bfee3421c5a4 (patch)
tree8d12a8fffc67b9e2cc6e22be505228ef2d63cef2 /sys/dev/aic7xxx/aic7xxx_reg.h
parent8e3bd266fe34a76ff8546207e6d83fbac958510a (diff)
downloadFreeBSD-src-5c62ce19d54cfac14cbdb133e0e6bfee3421c5a4.zip
FreeBSD-src-5c62ce19d54cfac14cbdb133e0e6bfee3421c5a4.tar.gz
Assert that we have seen an identify or have not disconneccted since the
initial selection when entering the status phase. This is the same assertion we use for all the other data transfer phases. Hopefully fix the hangs in the mesgin and mesgout phases that I introduced last week during some code cleanup. I need to get some of these 12MB/s drives so I can reproduce these hangs here... Add a pause disable in the SCB paging case around our manipulation of the QOUTQCNT variable. This is simply extra sanity. Set LASTPHASE to P_BUSFREE once we see a busfree so that the kernel driver can differentiate this from a data out phase.
Diffstat (limited to 'sys/dev/aic7xxx/aic7xxx_reg.h')
-rw-r--r--sys/dev/aic7xxx/aic7xxx_reg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_reg.h b/sys/dev/aic7xxx/aic7xxx_reg.h
index bb03989..841abbf 100644
--- a/sys/dev/aic7xxx/aic7xxx_reg.h
+++ b/sys/dev/aic7xxx/aic7xxx_reg.h
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aic7xxx_reg.h,v 1.15 1996/10/28 06:01:08 gibbs Exp $
+ * $Id: aic7xxx_reg.h,v 1.16 1996/11/11 05:16:41 gibbs Exp $
*/
/*
@@ -439,6 +439,7 @@
* beyond the bounds of its
* command.
*/
+
#define BRKADRINT 0x08
#define SCSIINT 0x04
#define CMDCMPLT 0x02
@@ -681,6 +682,8 @@
#define MSG5 0x03a
#define LASTPHASE 0x03b
+#define P_BUSFREE 0x01
+
#define ARG_1 0x03c
#define RETURN_1 0x03c
#define SEND_MSG 0x80
OpenPOWER on IntegriCloud