summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ips.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index 538131eec60..e3d0d700977 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.20 2007/05/28 03:01:10 grange Exp $ */
+/* $OpenBSD: ips.c,v 1.21 2007/05/28 03:57:43 grange Exp $ */
/*
* Copyright (c) 2006, 2007 Alexander Yurchenko <grange@openbsd.org>
@@ -504,6 +504,9 @@ ips_scsi_cmd(struct scsi_xfer *xs)
"target %d, lun %d\n", sc->sc_dev.dv_xname,
target, link->lun));
xs->error = XS_DRIVER_STUFFUP;
+ s = splbio();
+ scsi_done(xs);
+ splx(s);
return (COMPLETE);
}
@@ -605,6 +608,7 @@ ips_scsi_cmd(struct scsi_xfer *xs)
sc->sc_dev.dv_xname, xs->cmd->opcode));
xs->error = XS_DRIVER_STUFFUP;
}
+ scsi_done(xs);
splx(s);
return (COMPLETE);