summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1998-08-26 19:11:22 +0000
committergibbs <gibbs@FreeBSD.org>1998-08-26 19:11:22 +0000
commit089ead75268cfd633a1859676028285c7e46b41b (patch)
tree074972caa5456732fb1a61b666ffee32e6bcb4b2
parent2ee4e1fc77587948fc12aefe4c2e15e78daceb08 (diff)
downloadFreeBSD-src-089ead75268cfd633a1859676028285c7e46b41b.zip
FreeBSD-src-089ead75268cfd633a1859676028285c7e46b41b.tar.gz
Fix an spl protection botch.
Submitted by: Gene Stark <stark@FreeBSD.ORG>
-rw-r--r--sys/dev/dpt/dpt_scsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c
index 7f44e42..b71af5e 100644
--- a/sys/dev/dpt/dpt_scsi.c
+++ b/sys/dev/dpt/dpt_scsi.c
@@ -64,7 +64,7 @@
* 3. dpt_handle_timeouts potentially inserts into the queue
*/
-#ident "$Id: dpt_scsi.c,v 1.10 1998/08/10 17:06:28 bde Exp $"
+#ident "$Id: dpt_scsi.c,v 1.11 1998/08/16 23:37:54 bde Exp $"
#define _DPT_C_
@@ -669,12 +669,12 @@ valid_unit:
static void
dpt_target_done(dpt_softc_t * dpt, int bus, dpt_ccb_t * ccb)
{
- int ospl = splsoftcam();
+ int ospl;
eata_ccb_t *cp;
cp = &ccb->eata_ccb;
- /**
+ /*
* Remove the CCB from the waiting queue.
* We do NOT put it back on the free, etc., queues as it is a special
* ccb, owned by the dpt_softc of this unit.
OpenPOWER on IntegriCloud