]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/nes: Fix SFP+ PHY initialization
authorChien Tung <chien.tin.tung@intel.com>
Wed, 8 Apr 2009 21:27:09 +0000 (14:27 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 8 Apr 2009 21:27:09 +0000 (14:27 -0700)
commit5e8dd52afbac634f4c990eb38304c818fc9a2212
treeb52f5aa52452130048dba841b0302ad7dee89f47
parent2d84ed4513c15b3c6da7cbca55c3654339d6359a
RDMA/nes: Fix SFP+ PHY initialization

SFP+ PHY initialization has very long delays, incorrect settings for
direct attach copper cables, and inconsistent link detection.

Adjust delays to the minimum required by the PHY.  Worst case is now
less than 4 seconds.  Add new register settings for direct attach
cables.  Change link detection logic to use two new registers for more
consistent link state detection.  Reorganize code to shorten line
length.

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