bnx2x: Add TX fault check for fiber PHYs
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 31 May 2011 21:27:06 +0000 (21:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jun 2011 20:10:56 +0000 (13:10 -0700)
commitc688fe2fc0cab3a5d266f7f6fcb21f14e4ac39ba
tree6004092cce67ac60b919c5c4ec324d83c8f3d8ba
parentfcf5b650832996bd857bb8f0b0b42097218f7fb8
bnx2x: Add TX fault check for fiber PHYs

In case TX fault is detected on Fiber PHYs, declare the link as down until TX fault is gone.

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/bnx2x/bnx2x_link.c
drivers/net/bnx2x/bnx2x_link.h
drivers/net/bnx2x/bnx2x_reg.h