From 66792b2e4473c8de5477f3471d9d0cc206e65340 Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" <gibbs@FreeBSD.org> Date: Mon, 11 Mar 1996 02:48:41 +0000 Subject: [PATCH] Disable the selection hardware before acknowledging a SELTO interrupt. It seems the 7880 gets confused if you don't do this. --- sys/i386/scsi/aic7xxx.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c index e3a04406533b..8e48753823be 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: @@ -1179,6 +1179,11 @@ clear: u_char waiting; 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