OSDN Git Service

IB/hfi1: Ignore link downgrade with 0 lanes
authorDean Luick <dean.luick@intel.com>
Thu, 14 Apr 2016 15:31:30 +0000 (08:31 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:29 +0000 (16:32 -0400)
commitf9b5635cbe7bcacb94870e44387df133dd851b10
tree695e779b051a26841022a037dbe2b1251ead33be
parent8f000f7f6e0ad8973f76cc64ecbc4d84099ff959
IB/hfi1: Ignore link downgrade with 0 lanes

Versions of the 8051 firmware < 0.38 may report a link failure
as a link downgrade with a width of 0 followed by a link down
notification.  Ignore the zero width downgrade notification -
the driver should follow the link down path.

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