aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-07-28 20:20:08 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-30 15:19:21 -0400
commitc1f1a06f926acc267c62a26d5d7435a3b5c7e429 (patch)
treeb03007fb5c1695a6bcce295c34c778b584d7f2af /drivers/net/bnx2x_main.c
parent581ce43d269bb9f9ea85d8f6e6acf68bad129740 (diff)
bnx2x: Self-test kills management traffic
Self test used to play with the management FIFO possibly while management was running... Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r--drivers/net/bnx2x_main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 5273988359e..b47b5311549 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -9415,10 +9415,9 @@ static int bnx2x_test_registers(struct bnx2x *bp)
9415 { XCM_REG_WU_DA_SET_TMR_CNT_FLG_CMD00, 4, 0x00000001 }, 9415 { XCM_REG_WU_DA_SET_TMR_CNT_FLG_CMD00, 4, 0x00000001 },
9416 { XCM_REG_WU_DA_CNT_CMD00, 4, 0x00000003 }, 9416 { XCM_REG_WU_DA_CNT_CMD00, 4, 0x00000003 },
9417 { XCM_REG_GLB_DEL_ACK_MAX_CNT_0, 4, 0x000000ff }, 9417 { XCM_REG_GLB_DEL_ACK_MAX_CNT_0, 4, 0x000000ff },
9418 { NIG_REG_EGRESS_MNG0_FIFO, 20, 0xffffffff },
9419 { NIG_REG_LLH0_T_BIT, 4, 0x00000001 }, 9418 { NIG_REG_LLH0_T_BIT, 4, 0x00000001 },
9420/* 20 */ { NIG_REG_EMAC0_IN_EN, 4, 0x00000001 }, 9419 { NIG_REG_EMAC0_IN_EN, 4, 0x00000001 },
9421 { NIG_REG_BMAC0_IN_EN, 4, 0x00000001 }, 9420/* 20 */ { NIG_REG_BMAC0_IN_EN, 4, 0x00000001 },
9422 { NIG_REG_XCM0_OUT_EN, 4, 0x00000001 }, 9421 { NIG_REG_XCM0_OUT_EN, 4, 0x00000001 },
9423 { NIG_REG_BRB0_OUT_EN, 4, 0x00000001 }, 9422 { NIG_REG_BRB0_OUT_EN, 4, 0x00000001 },
9424 { NIG_REG_LLH0_XCM_MASK, 4, 0x00000007 }, 9423 { NIG_REG_LLH0_XCM_MASK, 4, 0x00000007 },
@@ -9427,8 +9426,8 @@ static int bnx2x_test_registers(struct bnx2x *bp)
9427 { NIG_REG_LLH0_DEST_MAC_0_0, 160, 0xffffffff }, 9426 { NIG_REG_LLH0_DEST_MAC_0_0, 160, 0xffffffff },
9428 { NIG_REG_LLH0_DEST_IP_0_1, 160, 0xffffffff }, 9427 { NIG_REG_LLH0_DEST_IP_0_1, 160, 0xffffffff },
9429 { NIG_REG_LLH0_IPV4_IPV6_0, 160, 0x00000001 }, 9428 { NIG_REG_LLH0_IPV4_IPV6_0, 160, 0x00000001 },
9430/* 30 */ { NIG_REG_LLH0_DEST_UDP_0, 160, 0x0000ffff }, 9429 { NIG_REG_LLH0_DEST_UDP_0, 160, 0x0000ffff },
9431 { NIG_REG_LLH0_DEST_TCP_0, 160, 0x0000ffff }, 9430/* 30 */ { NIG_REG_LLH0_DEST_TCP_0, 160, 0x0000ffff },
9432 { NIG_REG_LLH0_VLAN_ID_0, 160, 0x00000fff }, 9431 { NIG_REG_LLH0_VLAN_ID_0, 160, 0x00000fff },
9433 { NIG_REG_XGXS_SERDES0_MODE_SEL, 4, 0x00000001 }, 9432 { NIG_REG_XGXS_SERDES0_MODE_SEL, 4, 0x00000001 },
9434 { NIG_REG_LED_CONTROL_OVERRIDE_TRAFFIC_P0, 4, 0x00000001 }, 9433 { NIG_REG_LED_CONTROL_OVERRIDE_TRAFFIC_P0, 4, 0x00000001 },