diff options
author | mjacob <mjacob@cvs.openbsd.org> | 2003-03-03 18:33:50 +0000 |
---|---|---|
committer | mjacob <mjacob@cvs.openbsd.org> | 2003-03-03 18:33:50 +0000 |
commit | ae58ae6c504e1e11506f98fecdd0d726d1b2ed8e (patch) | |
tree | b74b6daead3ec5ce28ca2bcb629ed2f45eec1043 /sys/dev/ic | |
parent | ecc3a1ae5b17306720098f5064a98c7c04337dde (diff) |
For type 3 requests, the count is ISP_RQDSEG_T3, not ISP_RQDSEG_T2, that we need
to set up.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/isp_inline.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/isp_inline.h b/sys/dev/ic/isp_inline.h index 9073add5860..f00b072cdfd 100644 --- a/sys/dev/ic/isp_inline.h +++ b/sys/dev/ic/isp_inline.h @@ -1,4 +1,4 @@ -/* $OpenBSD: isp_inline.h,v 1.11 2002/05/17 01:32:04 mjacob Exp $ */ +/* $OpenBSD: isp_inline.h,v 1.12 2003/03/03 18:33:49 mjacob Exp $ */ /* * Qlogic Host Adapter Inline Functions * @@ -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, |