summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1996-03-11 02:48:41 +0000
committergibbs <gibbs@FreeBSD.org>1996-03-11 02:48:41 +0000
commit0df55375d52be8abde266a6c9c8af184517f2391 (patch)
tree680060ad3e099936638cf66a4bfdd872508859dd
parent874d9fcc3fe32820db42611374b25a4dff74a345 (diff)
downloadFreeBSD-src-0df55375d52be8abde266a6c9c8af184517f2391.zip
FreeBSD-src-0df55375d52be8abde266a6c9c8af184517f2391.tar.gz
Disable the selection hardware before acknowledging a SELTO interrupt.
It seems the 7880 gets confused if you don't do this.
-rw-r--r--sys/i386/scsi/aic7xxx.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c
index e3a0440..8e48753 100644
--- a/sys/i386/scsi/aic7xxx.c
+++ b/sys/i386/scsi/aic7xxx.c
@@ -24,7 +24,7 @@
*
* commenced: Sun Sep 27 18:14:01 PDT 1992
*
- * $Id: aic7xxx.c,v 1.55 1996/01/29 03:17:37 gibbs Exp $
+ * $Id: aic7xxx.c,v 1.56 1996/03/10 07:11:43 gibbs Exp $
*/
/*
* TODO:
@@ -1180,6 +1180,11 @@ clear:
u_char flags;
xs->error = XS_TIMEOUT;
/*
+ * Stop the Selection
+ */
+ outb(SCSISEQ + iobase, 0);
+
+ /*
* Clear any pending messages for the timed out
* target, and mark the target as free
*/
OpenPOWER on IntegriCloud