]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6c88f45434a81b4d120e0b07ad00baa860cebc1
tree6856823c9b64f0b5ad0229d9d9bcb10b9e83d0f7
parent4dbda021a1780d0ed9bd5e4b958a5e7ccefefe6f
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