staging/rdma/hfi1: Add one-time LCB reset
authorDean Luick <dean.luick@intel.com>
Tue, 1 Dec 2015 20:38:15 +0000 (15:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:51:55 +0000 (13:51 -0800)
commitbbdeb33d2774ddc7475aab7868a5c447503a256e
tree0a2a4f7edc4b8afbd00c196a80d52e2853b04b85
parent92d207f31532d48bb86a1a14f9a92df11c9a315c
staging/rdma/hfi1: Add one-time LCB reset

Add one-time LCB reset on driver load to pre-emptively work
around any LCB power cycle issues.

Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/chip_registers.h