bnx2x: Fix KR2 rapid link flap
authorYaniv Rosner <yanivr@broadcom.com>
Sun, 7 Apr 2013 05:36:23 +0000 (05:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 21:17:00 +0000 (17:17 -0400)
commitcb28ea3b13b86fb23448525f34720e659bda7aa8
tree3ce7eac60107ce61c40cc0bc93d69e2ed9f851a8
parent259c9a1f9e0fa6610c5d7c15ba658dd4fd007bf5
bnx2x: Fix KR2 rapid link flap

Check KR2 recovery time at the beginning of the work-around function.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c