diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2009-09-05 11:28:55 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2009-09-05 11:28:55 +0000 |
commit | e139df6f859c3060dc7a94050de406be1ce25885 (patch) | |
tree | 4f9ef9debb8a548443d9dc28a07463fca07c9d35 /sys/dev/eisa | |
parent | e2a2ecc5c15fa1d6ba1c46ef6a7ccbd56cbfb86a (diff) |
call scsi_done before returning COMPLETE
Diffstat (limited to 'sys/dev/eisa')
-rw-r--r-- | sys/dev/eisa/aha1742.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/eisa/aha1742.c b/sys/dev/eisa/aha1742.c index 9bff0f9178f..6eaec43a2df 100644 --- a/sys/dev/eisa/aha1742.c +++ b/sys/dev/eisa/aha1742.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha1742.c,v 1.33 2009/08/29 13:58:51 jasper Exp $ */ +/* $OpenBSD: aha1742.c,v 1.34 2009/09/05 11:28:54 dlg Exp $ */ /* $NetBSD: aha1742.c,v 1.61 1996/05/12 23:40:01 mycroft Exp $ */ /* @@ -1073,6 +1073,9 @@ ahb_scsi_cmd(xs) sc->sc_dev.dv_xname, AHB_NSEG); xs->error = XS_DRIVER_STUFFUP; ahb_free_ecb(sc, ecb, flags); + s = splbio(); + scsi_done(xs); + splx(s); return COMPLETE; } } else { /* No data xfer, use non S/G values */ |