Skip to content

Commit

Permalink
bnx2x: Removing microcode assertion check
Browse files Browse the repository at this point in the history
This check is unreliable since latest MC can issue warnings on rare occasions
which are not fatal errors

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eilon Greenstein authored and David S. Miller committed Feb 16, 2009
1 parent f1ef27e commit d3d4f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/net/bnx2x.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_TESTS 8
#define BNX2X_NUM_TESTS 7

#define BNX2X_MAC_LOOPBACK 0
#define BNX2X_PHY_LOOPBACK 1
Expand Down
6 changes: 1 addition & 5 deletions drivers/net/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8732,8 +8732,7 @@ static const struct {
{ "nvram_test (online)" },
{ "interrupt_test (online)" },
{ "link_test (online)" },
{ "idle check (online)" },
{ "MC errors (online)" }
{ "idle check (online)" }
};

static int bnx2x_self_test_count(struct net_device *dev)
Expand Down Expand Up @@ -9202,9 +9201,6 @@ static void bnx2x_self_test(struct net_device *dev,
buf[5] = 1;
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
bnx2x_panic_dump(bp);
Expand Down

0 comments on commit d3d4f49

Please sign in to comment.