From: Chien Tung Date: Wed, 8 Apr 2009 21:27:09 +0000 (-0700) Subject: RDMA/nes: Fix SFP+ PHY initialization X-Git-Tag: v2.6.30-rc2~92^2^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b9493248cf5e9f1ecc045488100cbf3ccd91be1;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed