bnx2x: Add link retry to 578xx-KR
authorYaniv Rosner <yanivr@broadcom.com>
Thu, 27 Oct 2011 05:09:46 +0000 (05:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Oct 2011 20:14:15 +0000 (16:14 -0400)
commita9077bfd0b3fdcd1051cc3d09bf8c28f9d4d506a
tree2a42fe02ff38608a80fdf73006044fe67fcb07a5
parent26ffaf36c8e0a0eefb6ff031d6166b5ee82eb3de
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.

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
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h