summaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp_pci.c
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2001-03-21 00:49:37 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2001-03-21 00:49:37 +0000
commitb72b15696ca2bf95df2cb509922a3ec1801796a0 (patch)
tree0e21a5bf850a77d02a6b444011338c1ddbb32bea /sys/dev/isp/isp_pci.c
parent290dc24b4d4f1c9b3c62f6c490134a9e776bc0cc (diff)
Notes
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r--sys/dev/isp/isp_pci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c
index b8a903b70aa4..0064a1f4808d 100644
--- a/sys/dev/isp/isp_pci.c
+++ b/sys/dev/isp/isp_pci.c
@@ -1090,11 +1090,14 @@ tdma_mk(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error)
*/
scsi_status = cto->ct_scsi_status;
+#if 0
+ sflags |= CT_NODATA;
/*
* We can't do a status at the same time as a data CTIO, so
* we need to synthesize an extra CTIO at this level.
*/
nctios++;
+#endif
} else {
sflags = scsi_status = resid = 0;
}
@@ -1169,7 +1172,7 @@ tdma_mk(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error)
if (send_status) {
cto->ct_scsi_status = scsi_status;
- cto->ct_flags |= sflags | CT_NO_DATA;;
+ cto->ct_flags |= sflags;
cto->ct_resid = resid;
}
if (send_status) {