RDMA/nes: Add additional SFP+ PHY uC status check and PHY reset
authorChien Tung <chien.tin.tung@intel.com>
Wed, 9 Dec 2009 23:21:56 +0000 (15:21 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 9 Dec 2009 23:21:56 +0000 (15:21 -0800)
commita276510328d0721c252b37044c51e2fb4efe0364
tree1a9d9632f919410cdbdada648ac1dc62ecca862c
parente293a26fe97c8598a96562c1c9376d9ae6cb96dd
RDMA/nes: Add additional SFP+ PHY uC status check and PHY reset

Add additional PHY uC status check in case PHY firmware is not running
properly with heartbeat.  Add a hard PHY reset if uC status is 0x0
after initial reset.

Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_hw.c