summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2009-09-05 11:28:55 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2009-09-05 11:28:55 +0000
commite139df6f859c3060dc7a94050de406be1ce25885 (patch)
tree4f9ef9debb8a548443d9dc28a07463fca07c9d35 /sys/dev
parente2a2ecc5c15fa1d6ba1c46ef6a7ccbd56cbfb86a (diff)
call scsi_done before returning COMPLETE
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/eisa/aha1742.c5
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 */