diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-01-13 06:09:45 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-01-13 06:09:45 +0000 |
commit | f81cc2b29a14337b801b60b0e5372ce058b26241 (patch) | |
tree | dfbfca44920f76173db6d93a2958307ec5d58b9d /sys/arch | |
parent | ba3f5f2d3431c1649f90db5380847512340cfd66 (diff) |
Remove a few more settings of ITSDONE in drivers. Only a couple
more to go. Should be a no-op.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hp300/dev/mb89352.c | 4 | ||||
-rw-r--r-- | sys/arch/luna88k/dev/mb89352.c | 4 | ||||
-rw-r--r-- | sys/arch/mac68k/dev/ncr5380.c | 6 | ||||
-rw-r--r-- | sys/arch/macppc/dev/mesh.c | 3 |
4 files changed, 5 insertions, 12 deletions
diff --git a/sys/arch/hp300/dev/mb89352.c b/sys/arch/hp300/dev/mb89352.c index 58f54a6660c..b0f4af988cb 100644 --- a/sys/arch/hp300/dev/mb89352.c +++ b/sys/arch/hp300/dev/mb89352.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mb89352.c,v 1.20 2009/11/01 23:06:03 fgsch Exp $ */ +/* $OpenBSD: mb89352.c,v 1.21 2010/01/13 06:09:44 krw Exp $ */ /* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ @@ -754,8 +754,6 @@ spc_done(struct spc_softc *sc, struct spc_acb *acb) } } - xs->flags |= ITSDONE; - #ifdef SPC_DEBUG if ((spc_debug & SPC_SHOWMISC) != 0) { if (xs->resid != 0) diff --git a/sys/arch/luna88k/dev/mb89352.c b/sys/arch/luna88k/dev/mb89352.c index a0c12c1a3a9..1ea542c8b82 100644 --- a/sys/arch/luna88k/dev/mb89352.c +++ b/sys/arch/luna88k/dev/mb89352.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mb89352.c,v 1.10 2009/11/01 23:06:03 fgsch Exp $ */ +/* $OpenBSD: mb89352.c,v 1.11 2010/01/13 06:09:44 krw Exp $ */ /* $NetBSD: mb89352.c,v 1.5 2000/03/23 07:01:31 thorpej Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ @@ -804,8 +804,6 @@ spc_done(sc, acb) } } - xs->flags |= ITSDONE; - #ifdef SPC_DEBUG if ((spc_debug & SPC_SHOWMISC) != 0) { if (xs->resid != 0) diff --git a/sys/arch/mac68k/dev/ncr5380.c b/sys/arch/mac68k/dev/ncr5380.c index 8a58e8f9543..9324557d98b 100644 --- a/sys/arch/mac68k/dev/ncr5380.c +++ b/sys/arch/mac68k/dev/ncr5380.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr5380.c,v 1.36 2010/01/10 01:14:26 krw Exp $ */ +/* $OpenBSD: ncr5380.c,v 1.37 2010/01/13 06:09:44 krw Exp $ */ /* $NetBSD: ncr5380.c,v 1.38 1996/12/19 21:48:18 scottr Exp $ */ /* @@ -188,9 +188,7 @@ extern __inline__ void finish_req(SC_REQ *reqp) reqp->next = free_head; free_head = reqp; - xs->flags |= ITSDONE; - if (!(reqp->dr_flag & DRIVER_LINKCHK)) - scsi_done(xs); + scsi_done(xs); splx(sps); } diff --git a/sys/arch/macppc/dev/mesh.c b/sys/arch/macppc/dev/mesh.c index a80ef0cf6a9..57ef3f965de 100644 --- a/sys/arch/macppc/dev/mesh.c +++ b/sys/arch/macppc/dev/mesh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mesh.c,v 1.23 2009/11/01 23:06:03 fgsch Exp $ */ +/* $OpenBSD: mesh.c,v 1.24 2010/01/13 06:09:44 krw Exp $ */ /* $NetBSD: mesh.c,v 1.1 1999/02/19 13:06:03 tsubai Exp $ */ /*- @@ -1138,7 +1138,6 @@ mesh_done(struct mesh_softc *sc, struct mesh_scb *scb) xs->status = scb->status; xs->resid = scb->resid; - xs->flags |= ITSDONE; mesh_set_reg(sc, MESH_SYNC_PARAM, 2); |