IB/hfi1: Fix serdes loopback set-up
authorJan Sokolowski <jan.sokolowski@intel.com>
Mon, 9 Oct 2017 20:08:28 +0000 (13:08 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 14:12:59 +0000 (10:12 -0400)
commit242b494bf22be4056df1493664b00b5d0b238e53
tree475adac47526e042c52b406c1de026f974b3fcb1
parente19b205be43d11bff638cad4487008c48d21c103
IB/hfi1: Fix serdes loopback set-up

Change serdes mode setting to use MISC_CONFIG_BITS in
VERIFY_CAP_LOCAL_LINK_WIDTH register. This method of
setting up serdes loopback is universally compatible
across all firmware versions.

Reviewed-by: Jakub Byczkowski <jakub.byczkowski@intel.com>
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip.h