]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: Add link retry to 578xx-KR
authorYaniv Rosner <yanivr@broadcom.com>
Thu, 27 Oct 2011 05:09:46 +0000 (05:09 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 10:12:52 +0000 (18:12 +0800)
commit7485275fd7d5aa10c80294b8ddee5166ec2551ca
treea466972c5ab627674cbc617f5ddce5ad5614a723
parent083cc0c8343b59a50a88d586cee5f0378647ddcc
bnx2x: Add link retry to 578xx-KR

This fix solves a problem of no link on 578xx-KR by retrying to link up to
four timer using the periodic function.

(cherry picked from commit a9077bfd0b3fdcd1051cc3d09bf8c28f9d4d506a)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_link.c
drivers/net/bnx2x/bnx2x_link.h