• Chien Tung's avatar
    RDMA/nes: Fix SFP+ PHY initialization · 1b949324
    Chien Tung authored
    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: default avatarChien Tung <chien.tin.tung@intel.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    1b949324
nes_hw.c 112 KB