summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_reg.h
diff options
context:
space:
mode:
authorYaniv Rosner <yanivr@broadcom.com>2011-01-18 04:33:47 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-18 16:10:39 -0800
commitf25b3c8b5f696cf74adfb37c9d9982c72f4106c9 (patch)
tree6616b75dd1d12248c59e56cb9f5341b1a041216e /drivers/net/bnx2x/bnx2x_reg.h
parent791f18c0da3ad540806122e173d6b730d7d7f60b (diff)
downloadblackbird-op-linux-f25b3c8b5f696cf74adfb37c9d9982c72f4106c9.tar.gz
blackbird-op-linux-f25b3c8b5f696cf74adfb37c9d9982c72f4106c9.zip
bnx2x: Fix BCM84823 LED behavior
Fix BCM84823 LED behavior which may show on some systems 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_reg.h b/drivers/net/bnx2x/bnx2x_reg.h
index 38ef7ca9f21d..73efc9bbfe7c 100644
--- a/drivers/net/bnx2x/bnx2x_reg.h
+++ b/drivers/net/bnx2x/bnx2x_reg.h
@@ -6194,7 +6194,11 @@ Theotherbitsarereservedandshouldbezero*/
#define MDIO_CTL_REG_84823_MEDIA_PRIORITY_COPPER 0x0000
#define MDIO_CTL_REG_84823_MEDIA_PRIORITY_FIBER 0x0100
#define MDIO_CTL_REG_84823_MEDIA_FIBER_1G 0x1000
+#define MDIO_CTL_REG_84823_USER_CTRL_REG 0x4005
+#define MDIO_CTL_REG_84823_USER_CTRL_CMS 0x0080
+#define MDIO_PMA_REG_84823_CTL_LED_CTL_1 0xa8e3
+#define MDIO_PMA_REG_84823_LED3_STRETCH_EN 0x0080
#define IGU_FUNC_BASE 0x0400
OpenPOWER on IntegriCloud