diff options
author | Yuval Mintz <yuvalmin@broadcom.com> | 2012-06-20 19:05:18 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-22 17:20:32 -0700 |
commit | d0b8a6f926be5109d711937a74b8d327b29470ba (patch) | |
tree | f3250b9a893f9d46d58ec4d60596fc5b6abe7fb6 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h | |
parent | 6648bd7e0e62c0c8c03b15e00c9e7015e232feff (diff) | |
download | linux-d0b8a6f926be5109d711937a74b8d327b29470ba.tar.gz linux-d0b8a6f926be5109d711937a74b8d327b29470ba.tar.bz2 linux-d0b8a6f926be5109d711937a74b8d327b29470ba.zip |
bnx2x: sfp+ Tx fault detection added
Adds the ability to identify sfp+ modules' Tx fault, and when such
occur shut down the link.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h index e920800a7bc5..cd1f2719b62d 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h @@ -307,6 +307,7 @@ struct link_vars { #define PHY_PHYSICAL_LINK_FLAG (1<<2) #define PHY_HALF_OPEN_CONN_FLAG (1<<3) #define PHY_OVER_CURRENT_FLAG (1<<4) +#define PHY_SFP_TX_FAULT_FLAG (1<<5) u8 mac_type; #define MAC_TYPE_NONE 0 |