IB/hfi1: Correct external device configuration shift
authorEaswar Hariharan <easwar.hariharan@intel.com>
Thu, 12 May 2016 17:22:45 +0000 (10:22 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:39:15 +0000 (19:39 -0400)
commit27a340f6b206dd2a0208d3bc4605c0708b55d7b4
treedf75b85f0613e6b744e8b831813f7da1e1c75c20
parent9775a991f9bdbdde3cc38e553326755af5b2b2a9
IB/hfi1: Correct external device configuration shift

The external device configuration was incorrectly shifted to byte 3 of
the 32 bit DC_HOST_COMM_SETTINGS instead of byte 0. This patch corrects
the shift and provides the cable capability information in byte 0.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/platform.c