diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-12-03 17:13:23 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-12-03 17:13:23 +0000 |
commit | b1ebc44477794b7e2189d2bc0b2251eb10230ff4 (patch) | |
tree | 05d7eaa8278a4f3edfdbeb19511e559e622baadb /sys/dev/eisa | |
parent | 953d3f75b51d811736897194878c6363e583653a (diff) |
The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER is
to set xs->error to XS_BUSY. So it is pointless and misleading to
set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before
returning TRY_AGAIN_LATER.
No functional change.
Diffstat (limited to 'sys/dev/eisa')
-rw-r--r-- | sys/dev/eisa/aha1742.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/eisa/aha1742.c b/sys/dev/eisa/aha1742.c index 463f5f11b1b..859dba59b1a 100644 --- a/sys/dev/eisa/aha1742.c +++ b/sys/dev/eisa/aha1742.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha1742.c,v 1.20 2005/02/17 18:07:36 jfb Exp $ */ +/* $OpenBSD: aha1742.c,v 1.21 2005/12/03 17:13:22 krw Exp $ */ /* $NetBSD: aha1742.c,v 1.61 1996/05/12 23:40:01 mycroft Exp $ */ /* @@ -959,7 +959,6 @@ ahb_scsi_cmd(xs) xs->flags &= ~ITSDONE; } if ((ecb = ahb_get_ecb(sc, flags)) == NULL) { - xs->error = XS_DRIVER_STUFFUP; return TRY_AGAIN_LATER; } ecb->xs = xs; |