summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x/bnx2x_reg.h
diff options
context:
space:
mode:
authorYaniv Rosner <yanivr@broadcom.com>2011-06-01 01:27:06 +0400
committerDavid S. Miller <davem@davemloft.net>2011-06-02 00:10:56 +0400
commitc688fe2fc0cab3a5d266f7f6fcb21f14e4ac39ba (patch)
tree6004092cce67ac60b919c5c4ec324d83c8f3d8ba /drivers/net/bnx2x/bnx2x_reg.h
parentfcf5b650832996bd857bb8f0b0b42097218f7fb8 (diff)
downloadlinux-c688fe2fc0cab3a5d266f7f6fcb21f14e4ac39ba.tar.xz
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>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_reg.h')
-rw-r--r--drivers/net/bnx2x/bnx2x_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_reg.h b/drivers/net/bnx2x/bnx2x_reg.h
index 86bba25d2d3f..7260d09cf25f 100644
--- a/drivers/net/bnx2x/bnx2x_reg.h
+++ b/drivers/net/bnx2x/bnx2x_reg.h
@@ -6037,6 +6037,7 @@ Theotherbitsarereservedandshouldbezero*/
#define MDIO_PMA_REG_BCM_CTRL 0x0096
#define MDIO_PMA_REG_FEC_CTRL 0x00ab
#define MDIO_PMA_REG_RX_ALARM_CTRL 0x9000
+#define MDIO_PMA_REG_TX_ALARM_CTRL 0x9001
#define MDIO_PMA_REG_LASI_CTRL 0x9002
#define MDIO_PMA_REG_RX_ALARM 0x9003
#define MDIO_PMA_REG_TX_ALARM 0x9004