summaryrefslogtreecommitdiffstats
path: root/sys/dev/dpt
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1998-10-02 03:40:53 +0000
committergibbs <gibbs@FreeBSD.org>1998-10-02 03:40:53 +0000
commit4b4461e1d2f18318d726bfb2f4fe8d64807ec12b (patch)
treeb7c2c2cebe02560e483b63f34800ff32fcd46743 /sys/dev/dpt
parent075825e3cb82024975b13b10f3bdde8daa866509 (diff)
downloadFreeBSD-src-4b4461e1d2f18318d726bfb2f4fe8d64807ec12b.zip
FreeBSD-src-4b4461e1d2f18318d726bfb2f4fe8d64807ec12b.tar.gz
Remove a spurious, but benign statement.
Correct some panic and printf strings that referenced the 'bt' driver. I should be more careful when I Cut 'n Paste.
Diffstat (limited to 'sys/dev/dpt')
-rw-r--r--sys/dev/dpt/dpt_scsi.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c
index 286bd26..75dad1a 100644
--- a/sys/dev/dpt/dpt_scsi.c
+++ b/sys/dev/dpt/dpt_scsi.c
@@ -43,7 +43,7 @@
* arrays that span controllers (Wow!).
*/
-#ident "$Id: dpt_scsi.c,v 1.15 1998/09/20 07:19:53 gibbs Exp $"
+#ident "$Id: dpt_scsi.c,v 1.16 1998/09/22 04:55:07 gibbs Exp $"
#define _DPT_C_
@@ -835,7 +835,6 @@ dpt_action(struct cam_sim *sim, union ccb *ccb)
*/
xpt_freeze_simq(sim, 1);
dccb->state |= CAM_RELEASE_SIMQ;
- CAM_RELEASE_SIMQ;
}
splx(s);
} else {
@@ -851,18 +850,17 @@ dpt_action(struct cam_sim *sim, union ccb *ccb)
struct bus_dma_segment *segs;
if ((ccbh->flags & CAM_DATA_PHYS) != 0)
- panic("btaction - Physical "
+ panic("dpt_action - Physical "
"segment pointers "
"unsupported");
if ((ccbh->flags&CAM_SG_LIST_PHYS)==0)
- panic("btaction - Virtual "
+ panic("dpt_action - Virtual "
"segment addresses "
"unsupported");
/* Just use the segments provided */
- segs = (struct bus_dma_segment *)
- csio->data_ptr;
+ segs = (struct bus_dma_segment *)csio->data_ptr;
dptexecuteccb(dccb, segs, csio->sglist_cnt, 0);
}
} else {
OpenPOWER on IntegriCloud