summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2011-05-15 23:44:52 +0100
committerRichard Lowe <richlowe@richlowe.net>2011-05-15 23:44:52 +0100
commit81a990d5435fe81e68c90bcd35697365a7f718db (patch)
tree52723f66e2f66bc7e52652eb106774aaf47f5f80 /usr/src
parentf2297e9296e52199b01691617a851111fa19a0b2 (diff)
downloadillumos-joyent-81a990d5435fe81e68c90bcd35697365a7f718db.tar.gz
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>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c b/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
index 45034ad251..22243d4608 100644
--- a/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
+++ b/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_sli4.c
@@ -2815,7 +2815,7 @@ emlxs_sli4_prep_fcp_iocb(emlxs_port_t *port, emlxs_buf_t *sbp, int channel)
}
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 @@ emlxs_sli4_prep_ct_iocb(emlxs_port_t *port, emlxs_buf_t *sbp)
}
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() */