IB/hfi1: Do not enable disabled port on cable insert
authorJan Sokolowski <jan.sokolowski@intel.com>
Sat, 29 Jul 2017 15:43:26 +0000 (08:43 -0700)
committerDoug Ledford <dledford@redhat.com>
Mon, 31 Jul 2017 19:18:37 +0000 (15:18 -0400)
commit96603ed865b3c5a9a0d1c9ed434661519d49fde3
tree6856823c9b64f0b5ad0229d9d9bcb10b9e83d0f7
parent5efd40cad4bf98f0d1f6b726d67e39decd85edc9
IB/hfi1: Do not enable disabled port on cable insert

Fix issue where a disabled port can be enabled by
inserting a cable. The port should be explicitly
enabled instead.

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
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