1677 emlxs shouldn't assign 0xffff to 10-bit CQids
authorRichard Lowe <richlowe@richlowe.net>
Sun, 15 May 2011 23:44:52 +0100
changeset 13495 4ac8112a8e30
parent 13494 9dc2083cc403
child 13496 732144cfe2ef
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]>
usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
--- 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() */