summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2002-09-23 05:00:37 +0000
committermjacob <mjacob@FreeBSD.org>2002-09-23 05:00:37 +0000
commitb9b68e183859f883a891c22ec504d7ac1e213b75 (patch)
tree6e2b22af63f4b0c8cba15b6fe55da8c27e99d602 /sys/dev/isp
parent33ae3ad7c8ab4c6777a0bb029b099da2f0298f68 (diff)
downloadFreeBSD-src-b9b68e183859f883a891c22ec504d7ac1e213b75.zip
FreeBSD-src-b9b68e183859f883a891c22ec504d7ac1e213b75.tar.gz
Fix buglet in A64 CTIO3 structure copy.
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp_inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_inline.h b/sys/dev/isp/isp_inline.h
index 8f82013..c2d9366 100644
--- a/sys/dev/isp/isp_inline.h
+++ b/sys/dev/isp/isp_inline.h
@@ -476,7 +476,7 @@ isp_put_request_t3(struct ispsoftc *isp, ispreqt3_t *tqsrc, ispreqt3_t *tqdst)
ISP_IOXPUT_8(isp, tqsrc->req_cdb[i], &tqdst->req_cdb[i]);
}
ISP_IOXPUT_32(isp, tqsrc->req_totalcnt, &tqdst->req_totalcnt);
- for (i = 0; i < ISP_RQDSEG_T2; i++) {
+ for (i = 0; i < ISP_RQDSEG_T3; i++) {
ISP_IOXPUT_32(isp, tqsrc->req_dataseg[i].ds_base,
&tqdst->req_dataseg[i].ds_base);
ISP_IOXPUT_32(isp, tqsrc->req_dataseg[i].ds_basehi,
OpenPOWER on IntegriCloud