staging/rdma/hfi1: set Gen3 half-swing for integrated devices
authorDean Luick <dean.luick@intel.com>
Tue, 22 Dec 2015 01:31:53 +0000 (20:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 02:44:07 +0000 (18:44 -0800)
commit14d88ec50ea668cc20efb622a13c664f056aee97
treeead32d43306596f9bd2489766c91dde0ff657f2f
parente223da96bf16bee7f6c4c3aed1ade44a48aff0d3
staging/rdma/hfi1: set Gen3 half-swing for integrated devices

Correctly set half-swing for integrated devices.  A0 needs all fields set for
CcePcieCtrl.  B0 and later only need a few fields set.

Reviewed-by: Stuart Summers <john.s.summers@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/chip_registers.h
drivers/staging/rdma/hfi1/pcie.c