diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2011-11-23 03:54:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-23 19:07:55 -0500 |
commit | 1d125bd52e1e1b9810a2d5a32a76147912fa4133 (patch) | |
tree | 021f9c57265b805df0056bf3daad1fb4d8ad4eab /drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h | |
parent | 685f94e6db8496399c881218018166515445a914 (diff) | |
download | lwn-1d125bd52e1e1b9810a2d5a32a76147912fa4133.tar.gz lwn-1d125bd52e1e1b9810a2d5a32a76147912fa4133.zip |
bnx2x: Fix 5461x LED
Fix port identify test on 5461x PHY by driving LEDs through MDIO.
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/ethernet/broadcom/bnx2x/bnx2x_reg.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h index fc7bd0f23c0b..e58073ef33b4 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h @@ -6990,6 +6990,7 @@ Theotherbitsarereservedandshouldbezero*/ #define MDIO_REG_INTR_MASK 0x1b #define MDIO_REG_INTR_MASK_LINK_STATUS (0x1 << 1) #define MDIO_REG_GPHY_SHADOW 0x1c +#define MDIO_REG_GPHY_SHADOW_LED_SEL1 (0x0d << 10) #define MDIO_REG_GPHY_SHADOW_LED_SEL2 (0x0e << 10) #define MDIO_REG_GPHY_SHADOW_WR_ENA (0x1 << 15) #define MDIO_REG_GPHY_SHADOW_AUTO_DET_MED (0x1e << 10) |