1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Yet another bug- when we have 2k login firmware, we need

to put out a ispreqt3e_t structure onto the request queue-
not a ispreqt3_t structure. We weren't. This turns out only
to really matter for big endian machines.

Approved by:	re (ken)
MFC after:	3 days
This commit is contained in:
Matt Jacob 2007-06-25 17:21:16 +00:00
parent 8375edb4bb
commit 16dbcac063
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171028

View File

@ -2849,8 +2849,14 @@ isp_pci_dmasetup(ispsoftc_t *isp, struct ccb_scsiio *csio, ispreq_t *rq,
case RQSTYPE_T2RQS:
isp_put_request_t2(isp, (ispreqt2_t *) rq, (ispreqt2_t *) qep);
break;
case RQSTYPE_A64:
case RQSTYPE_T3RQS:
if (FCPARAM(isp)->isp_2klogin) {
isp_put_request_t3e(isp,
(ispreqt3e_t *) rq, (ispreqt3e_t *) qep);
break;
}
/* FALLTHROUGH */
case RQSTYPE_A64:
isp_put_request_t3(isp, (ispreqt3_t *) rq, (ispreqt3_t *) qep);
break;
case RQSTYPE_T7RQS: