diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-19 20:35:00 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-19 20:35:00 +0000 |
commit | 8674c000574e5a0ff1f1704330a5725d90ccd856 (patch) | |
tree | b457fd5b6c68cfde9078d826f5629e21c0c4513e /sys/arch/mvme88k/dev | |
parent | 8c78e6d1a1edd4d34e7d588f2bab3eeef6d6d446 (diff) |
After a work queue has been aborted and the abort has been acknowledged,
do not keep setting the A.A. bit in further queue control operations, as
advised by the manual.
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r-- | sys/arch/mvme88k/dev/vs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/dev/vs.c b/sys/arch/mvme88k/dev/vs.c index c18c998a332..c7ed1db8983 100644 --- a/sys/arch/mvme88k/dev/vs.c +++ b/sys/arch/mvme88k/dev/vs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs.c,v 1.45 2004/07/19 20:32:47 miod Exp $ */ +/* $OpenBSD: vs.c,v 1.46 2004/07/19 20:34:59 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. @@ -382,9 +382,9 @@ vs_scsicmd(struct scsi_xfer *xs) vs_write(4, cqep + CQE_CTAG, (u_int32_t)m328_cmd); if (crb_read(2, CRB_CRSW) & M_CRSW_AQ) - vs_write(2, cqep + CQE_QECR, M_QECR_AA); - - vs_write(2, cqep + CQE_QECR, vs_read(2, cqep + CQE_QECR) | M_QECR_GO); + vs_write(2, cqep + CQE_QECR, M_QECR_AA | M_QECR_GO); + else + vs_write(2, cqep + CQE_QECR, M_QECR_GO); if (flags & SCSI_POLL) { /* poll for the command to complete */ |