diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-12-07 22:02:28 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-12-07 22:02:28 +0000 |
commit | aa38c7c3474274f240c1a4b23a939de6a2b1be80 (patch) | |
tree | 6f1b8719e09c727163e5a2e858c0d2685a1e5a39 /sys/dev/mpt/mpt_debug.c | |
parent | cfd4f7523f64eee9bb0612c7b4ba50149eb82a51 (diff) | |
download | FreeBSD-src-aa38c7c3474274f240c1a4b23a939de6a2b1be80.zip FreeBSD-src-aa38c7c3474274f240c1a4b23a939de6a2b1be80.tar.gz |
MFP4: principally to reapply tagged command support to FC and SAS cards.
Diffstat (limited to 'sys/dev/mpt/mpt_debug.c')
-rw-r--r-- | sys/dev/mpt/mpt_debug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/mpt/mpt_debug.c b/sys/dev/mpt/mpt_debug.c index 53b0c26..fd723cb 100644 --- a/sys/dev/mpt/mpt_debug.c +++ b/sys/dev/mpt/mpt_debug.c @@ -819,7 +819,7 @@ void mpt_dump_request(struct mpt_softc *mpt, request_t *req) { uint32_t *pReq = req->req_vbuf; - int offset; + int o; #if __FreeBSD_version >= 500000 mpt_prt(mpt, "Send Request %d (%jx):", req->index, (uintmax_t) req->req_pbuf); @@ -827,12 +827,12 @@ mpt_dump_request(struct mpt_softc *mpt, request_t *req) mpt_prt(mpt, "Send Request %d (%llx):", req->index, (unsigned long long) req->req_pbuf); #endif - for (offset = 0; offset < mpt->request_frame_size; offset++) { - if ((offset & 0x7) == 0) { + for (o = 0; o < mpt->ioc_facts.RequestFrameSize; o++) { + if ((o & 0x7) == 0) { mpt_prtc(mpt, "\n"); mpt_prt(mpt, " "); } - mpt_prtc(mpt, " %08x", pReq[offset]); + mpt_prtc(mpt, " %08x", pReq[o]); } mpt_prtc(mpt, "\n"); } |