diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 03:37:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:31:33 -0500 |
commit | 811a2f2d3be9a39bd4e0930501fda8630857748d (patch) | |
tree | ab00cd6bcc94c0cc270a747288d311b612077a87 /drivers/net/bnx2x_reg.h | |
parent | a35da8dbf1ff403633bb6256fba691b224f17f61 (diff) |
bnx2x: EMAC reset
The NIG_ENABLE does not reset the emac. Replace it with explicit reset
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_reg.h')
-rw-r--r-- | drivers/net/bnx2x_reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h index 5cfeac96ea69..b6c924934a00 100644 --- a/drivers/net/bnx2x_reg.h +++ b/drivers/net/bnx2x_reg.h | |||
@@ -5173,9 +5173,11 @@ | |||
5173 | #define EMAC_RX_MODE_FLOW_EN (1L<<2) | 5173 | #define EMAC_RX_MODE_FLOW_EN (1L<<2) |
5174 | #define EMAC_RX_MODE_KEEP_VLAN_TAG (1L<<10) | 5174 | #define EMAC_RX_MODE_KEEP_VLAN_TAG (1L<<10) |
5175 | #define EMAC_RX_MODE_PROMISCUOUS (1L<<8) | 5175 | #define EMAC_RX_MODE_PROMISCUOUS (1L<<8) |
5176 | #define EMAC_RX_MODE_RESET (1L<<0) | ||
5176 | #define EMAC_RX_MTU_SIZE_JUMBO_ENA (1L<<31) | 5177 | #define EMAC_RX_MTU_SIZE_JUMBO_ENA (1L<<31) |
5177 | #define EMAC_TX_MODE_EXT_PAUSE_EN (1L<<3) | 5178 | #define EMAC_TX_MODE_EXT_PAUSE_EN (1L<<3) |
5178 | #define EMAC_TX_MODE_FLOW_EN (1L<<4) | 5179 | #define EMAC_TX_MODE_FLOW_EN (1L<<4) |
5180 | #define EMAC_TX_MODE_RESET (1L<<0) | ||
5179 | #define MISC_REGISTERS_GPIO_0 0 | 5181 | #define MISC_REGISTERS_GPIO_0 0 |
5180 | #define MISC_REGISTERS_GPIO_1 1 | 5182 | #define MISC_REGISTERS_GPIO_1 1 |
5181 | #define MISC_REGISTERS_GPIO_2 2 | 5183 | #define MISC_REGISTERS_GPIO_2 2 |