changeset 13495:4ac8112a8e30

1677 emlxs shouldn't assign 0xffff to 10-bit CQids Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>
author Richard Lowe <richlowe@richlowe.net>
date Sun, 15 May 2011 23:44:52 +0100
parents 9dc2083cc403
children 732144cfe2ef
files usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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() */