summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_pci.c
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2007-06-26 20:53:07 +0000
committermjacob <mjacob@FreeBSD.org>2007-06-26 20:53:07 +0000
commit86ec24429c5ca4f74e61d7e40eb5b058d894997e (patch)
tree7809549c6540325584f83eda3bfee839ca3e346a /sys/dev/isp/isp_pci.c
parent4d57328d5baf21b6e4ded6a9640d0df4984e1fe7 (diff)
downloadFreeBSD-src-86ec24429c5ca4f74e61d7e40eb5b058d894997e.zip
FreeBSD-src-86ec24429c5ca4f74e61d7e40eb5b058d894997e.tar.gz
Extension of previous commit- when we have 2k login firmware, we need to
put out a ispreqt2e_t structure onto the request queue- not a ispreqt2_t structure. I forgot that the 23XX can use a t2 structure. Approved by: re (ken, implicitly) MFC after: 3 days
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r--sys/dev/isp/isp_pci.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c
index 57d3d16..85cd6cc 100644
--- a/sys/dev/isp/isp_pci.c
+++ b/sys/dev/isp/isp_pci.c
@@ -2847,7 +2847,13 @@ mbxsync:
(ispextreq_t *)qep);
break;
case RQSTYPE_T2RQS:
- isp_put_request_t2(isp, (ispreqt2_t *) rq, (ispreqt2_t *) qep);
+ if (FCPARAM(isp)->isp_2klogin) {
+ isp_put_request_t2e(isp,
+ (ispreqt2e_t *) rq, (ispreqt2e_t *) qep);
+ else {
+ isp_put_request_t2(isp,
+ (ispreqt2_t *) rq, (ispreqt2_t *) qep);
+ }
break;
case RQSTYPE_T3RQS:
if (FCPARAM(isp)->isp_2klogin) {
OpenPOWER on IntegriCloud