Commit d3d4f495 authored by Eilon Greenstein's avatar Eilon Greenstein Committed by David S. Miller

bnx2x: Removing microcode assertion check

This check is unreliable since latest MC can issue warnings on rare occasions
which are not fatal errors
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f1ef27ef
...@@ -1009,7 +1009,7 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms, ...@@ -1009,7 +1009,7 @@ static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
#define BNX2X_NUM_STATS 42 #define BNX2X_NUM_STATS 42
#define BNX2X_NUM_TESTS 8 #define BNX2X_NUM_TESTS 7
#define BNX2X_MAC_LOOPBACK 0 #define BNX2X_MAC_LOOPBACK 0
#define BNX2X_PHY_LOOPBACK 1 #define BNX2X_PHY_LOOPBACK 1
......
...@@ -8732,8 +8732,7 @@ static const struct { ...@@ -8732,8 +8732,7 @@ static const struct {
{ "nvram_test (online)" }, { "nvram_test (online)" },
{ "interrupt_test (online)" }, { "interrupt_test (online)" },
{ "link_test (online)" }, { "link_test (online)" },
{ "idle check (online)" }, { "idle check (online)" }
{ "MC errors (online)" }
}; };
static int bnx2x_self_test_count(struct net_device *dev) static int bnx2x_self_test_count(struct net_device *dev)
...@@ -9202,9 +9201,6 @@ static void bnx2x_self_test(struct net_device *dev, ...@@ -9202,9 +9201,6 @@ static void bnx2x_self_test(struct net_device *dev,
buf[5] = 1; buf[5] = 1;
etest->flags |= ETH_TEST_FL_FAILED; etest->flags |= ETH_TEST_FL_FAILED;
} }
buf[7] = bnx2x_mc_assert(bp);
if (buf[7] != 0)
etest->flags |= ETH_TEST_FL_FAILED;
#ifdef BNX2X_EXTRA_DEBUG #ifdef BNX2X_EXTRA_DEBUG
bnx2x_panic_dump(bp); bnx2x_panic_dump(bp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment