From: Yaniv Rosner Date: Thu, 7 Mar 2013 13:27:33 +0000 (+0000) Subject: bnx2x: Fix intermittent long KR2 link up time X-Git-Tag: v3.9-rc3~36^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f3347e6e75768985a088d959c49fb66263087b6;p=pandora-kernel.git bnx2x: Fix intermittent long KR2 link up time When a KR2 device is connected to a KR link-partner, sometimes it requires disabling KR2 for the link to come up. To get a KR2 link up later, in case no base pages are seen, the KR2 is restored. The problem was that some link partners cleared their advertised BP/NP after around two seconds, causing the driver to disable/enable KR2 link all the time. The fix was to wait at least 5 seconds before checking KR2 recovery. Signed-off-by: Yaniv Rosner Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed