diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2011-07-04 21:06:53 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-05 07:21:40 -0400 |
commit | 85242eea68f5039458afad0e4030828496bb4034 (patch) | |
tree | efc81e33f4c680a570a21d09718e15046be35180 /drivers/net/bnx2x/bnx2x_reg.h | |
parent | 985848f80ffc61a29d9a72fec46ddce3c9643636 (diff) |
bnx2x: Fix false link indication at link partner when DAC is used
When driver is unloaded, disable PMD in addition to TX laser, provided that the management firmware will be able to enable it back.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_reg.h b/drivers/net/bnx2x/bnx2x_reg.h index c97ce37f62da..3c7702e449cd 100644 --- a/drivers/net/bnx2x/bnx2x_reg.h +++ b/drivers/net/bnx2x/bnx2x_reg.h | |||
@@ -6618,6 +6618,7 @@ Theotherbitsarereservedandshouldbezero*/ | |||
6618 | #define MDIO_PMA_REG_CTRL 0x0 | 6618 | #define MDIO_PMA_REG_CTRL 0x0 |
6619 | #define MDIO_PMA_REG_STATUS 0x1 | 6619 | #define MDIO_PMA_REG_STATUS 0x1 |
6620 | #define MDIO_PMA_REG_10G_CTRL2 0x7 | 6620 | #define MDIO_PMA_REG_10G_CTRL2 0x7 |
6621 | #define MDIO_PMA_REG_TX_DISABLE 0x0009 | ||
6621 | #define MDIO_PMA_REG_RX_SD 0xa | 6622 | #define MDIO_PMA_REG_RX_SD 0xa |
6622 | /*bcm*/ | 6623 | /*bcm*/ |
6623 | #define MDIO_PMA_REG_BCM_CTRL 0x0096 | 6624 | #define MDIO_PMA_REG_BCM_CTRL 0x0096 |