diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-01-10 00:10:24 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-01-10 00:10:24 +0000 |
commit | c6c0f256e4fe51adfe4e53e07736f2606975ecde (patch) | |
tree | 54865f08103e580e7ac44f8bdf4691d9c349b87a /sys/arch | |
parent | e1c5df59efbbfff22b9563a6e6ce0068776c8963 (diff) |
Set ITSDONE in scsi_done() and zap trivial instances of setting it
in the drivers just before calling scsi_done().
ok dlg@ beck@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme68k/dev/vsbic.c | 3 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/vsbic.c | 3 | ||||
-rw-r--r-- | sys/arch/vax/dec/sii.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/mvme68k/dev/vsbic.c b/sys/arch/mvme68k/dev/vsbic.c index 89215fab0c4..1841138c7f6 100644 --- a/sys/arch/mvme68k/dev/vsbic.c +++ b/sys/arch/mvme68k/dev/vsbic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vsbic.c,v 1.3 2009/02/18 20:49:25 miod Exp $ */ +/* $OpenBSD: vsbic.c,v 1.4 2010/01/10 00:10:23 krw Exp $ */ /* * Copyright (c) 2008, 2009 Miodrag Vallat. @@ -1391,7 +1391,6 @@ vsbic_wrapup(struct vsbic_softc *sc, struct vsbic_ccb *ccb) } vsbic_free_ccb(sc, ccb); - SET(xs->flags, ITSDONE); scsi_done(xs); } diff --git a/sys/arch/mvme88k/dev/vsbic.c b/sys/arch/mvme88k/dev/vsbic.c index 3add3ad1641..48d879f4ff2 100644 --- a/sys/arch/mvme88k/dev/vsbic.c +++ b/sys/arch/mvme88k/dev/vsbic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vsbic.c,v 1.4 2009/02/18 20:49:27 miod Exp $ */ +/* $OpenBSD: vsbic.c,v 1.5 2010/01/10 00:10:23 krw Exp $ */ /* * Copyright (c) 2008, 2009 Miodrag Vallat. @@ -1391,7 +1391,6 @@ vsbic_wrapup(struct vsbic_softc *sc, struct vsbic_ccb *ccb) } vsbic_free_ccb(sc, ccb); - SET(xs->flags, ITSDONE); scsi_done(xs); } diff --git a/sys/arch/vax/dec/sii.c b/sys/arch/vax/dec/sii.c index bbf7282712f..22df76a88a1 100644 --- a/sys/arch/vax/dec/sii.c +++ b/sys/arch/vax/dec/sii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sii.c,v 1.5 2009/02/16 21:19:06 miod Exp $ */ +/* $OpenBSD: sii.c,v 1.6 2010/01/10 00:10:23 krw Exp $ */ /* $NetBSD: sii.c,v 1.42 2000/06/02 20:20:29 mhitch Exp $ */ /* * Copyright (c) 2008 Miodrag Vallat. @@ -267,7 +267,6 @@ sii_scsi_cmd(xs) if ((xs->flags & ITSDONE) != 0) return (COMPLETE); xs->error = XS_TIMEOUT; - xs->flags |= ITSDONE; s = splbio(); scsi_done(xs); splx(s); |