diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-26 22:46:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 22:46:12 +0100 |
commit | caa8d8bbddc9157cb8f34465be98fc83faf37155 (patch) | |
tree | 614d9c3396b94f154239a8199758b4068c72a3e5 /drivers/net/sfc/mdio_10g.h | |
parent | sfc: Generate unique names for per-NIC workqueues (diff) | |
download | linux-caa8d8bbddc9157cb8f34465be98fc83faf37155.tar.xz linux-caa8d8bbddc9157cb8f34465be98fc83faf37155.zip |
sfc: Fix unreliable link detection in some loopback modes
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/mdio_10g.h')
-rw-r--r-- | drivers/net/sfc/mdio_10g.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/sfc/mdio_10g.h b/drivers/net/sfc/mdio_10g.h index 409118228b1d..09bf801d0569 100644 --- a/drivers/net/sfc/mdio_10g.h +++ b/drivers/net/sfc/mdio_10g.h @@ -133,6 +133,10 @@ #define MDIO_PMAPMD_10GBT_TXPWR_SHORT_LBN (0) #define MDIO_PMAPMD_10GBT_TXPWR_SHORT_WIDTH (1) +/* PHY XGXS Status 2 */ +#define MDIO_PHYXS_STATUS2 (8) +#define MDIO_PHYXS_STATUS2_RX_FAULT_LBN 10 + /* PHY XGXS lane state */ #define MDIO_PHYXS_LANE_STATE (0x18) #define MDIO_PHYXS_LANE_ALIGNED_LBN (12) |