summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>1997-04-04 19:36:04 +0000
committerJustin T. Gibbs <gibbs@FreeBSD.org>1997-04-04 19:36:04 +0000
commit0f3a99aadeb74daf8aa7255ca2ddcb6f053cdb65 (patch)
tree4d28315d0943cfd5c61aec3b48fa804488b9d981
parentbb5d13ea1c68908ffd87efefb6e6316215bc0f7d (diff)
Notes
-rw-r--r--sys/i386/scsi/aic7xxx.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c
index 8ba35a1b56af..7c7736b20631 100644
--- a/sys/i386/scsi/aic7xxx.c
+++ b/sys/i386/scsi/aic7xxx.c
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: aic7xxx.c,v 1.110 1997/04/04 04:09:29 gibbs Exp $
+ * $Id: aic7xxx.c,v 1.111 1997/04/04 04:21:43 gibbs Exp $
*/
/*
* TODO:
@@ -3141,8 +3141,17 @@ bus_reset:
timeout(ahc_timeout, (caddr_t)scb,
(200 * hz) / 1000);
ahc_outb(ahc, SCBPTR, saved_scbptr);
- /* ahc_run_waiting_queue will unpause us */
+ /*
+ * ahc_run_waiting_queue may unpause us
+ * so do this last.
+ */
ahc_run_waiting_queue(ahc);
+ /*
+ * If we are using AAP, ahc_run_waiting_queue
+ * will not unpause us, so ensure we are
+ * unpaused.
+ */
+ unpause_sequencer(ahc, /*unpause_always*/FALSE);
} else {
/* Go "immediatly" to the bus reset */
sc_print_addr(scb->xs->sc_link);