1677 emlxs shouldn't assign 0xffff to 10-bit CQids
Reviewed by: Robert Mustacchi <
[email protected]>
Reviewed by: Garrett D'Amore <
[email protected]>
Approved by: Gordon Ross <
[email protected]>
--- a/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c Mon Oct 24 11:42:57 2011 -0400
+++ b/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c Sun May 15 23:44:52 2011 +0100
@@ -2815,7 +2815,7 @@
}
sbp->class = wqe->Class;
wqe->RequestTag = iotag;
- wqe->CQId = (uint16_t)0xffff; /* default CQ for response */
+ wqe->CQId = 0x3ff; /* default CQ for response */
return (FC_SUCCESS);
} /* emlxs_sli4_prep_fcp_iocb() */
@@ -3268,7 +3268,7 @@
}
sbp->class = wqe->Class;
wqe->RequestTag = xp->iotag;
- wqe->CQId = (uint16_t)0xffff; /* default CQ for response */
+ wqe->CQId = 0x3ff;
return (FC_SUCCESS);
} /* emlxs_sli4_prep_ct_iocb() */