diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2007-05-28 03:57:44 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2007-05-28 03:57:44 +0000 |
commit | d9c54252eec807aec50a4f773877ef471726690e (patch) | |
tree | c99ccc67938da6cb187247e9774e8a7d70d3df65 /sys/dev/pci | |
parent | b96c7f77d356ed2aec1c20384d9f48aa9643dc09 (diff) |
Sprincle some more scsi_done().
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/ips.c | 6 |
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); |