diff options
author | mjacob <mjacob@FreeBSD.org> | 2007-06-25 17:21:16 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2007-06-25 17:21:16 +0000 |
commit | a79676fb6d4640f4add118efa52a7ddb92c08245 (patch) | |
tree | e5946dfffffac2764b789f37f1bbdd8c21f4b5cb /sys/dev/isp/isp_pci.c | |
parent | 9caeeb576e4bf721172da5eb523aa288d5bae3e5 (diff) | |
download | FreeBSD-src-a79676fb6d4640f4add118efa52a7ddb92c08245.zip FreeBSD-src-a79676fb6d4640f4add118efa52a7ddb92c08245.tar.gz |
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
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 0d862fc..57d3d16 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -2849,8 +2849,14 @@ mbxsync: 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: |