diff options
author | Eddie Wai <waie@broadcom.com> | 2010-05-17 20:32:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-17 20:32:56 -0400 |
commit | b98eba52784fbd4a96241c5395c2c8d99fdb9433 (patch) | |
tree | 219ee5004554753984442b98043a45b03c831632 /drivers/net/bnx2.h | |
parent | a7fc948f4d11d80ac2bd08335dc1e0fb77ddf468 (diff) |
bnx2: Fix register printouts during NETEV_WATCHDOG.
Dump the correct MCP registers and add EMAC_RX_STATUS register during
NETDEV_WATCHDOG for debugging.
Signed-off-by: Eddie Wai <waie@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index dd35bd0b7e05..ddaa3fc99876 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -6347,6 +6347,8 @@ struct l2_fhdr { | |||
6347 | #define BNX2_MCP_SCRATCH 0x00160000 | 6347 | #define BNX2_MCP_SCRATCH 0x00160000 |
6348 | #define BNX2_MCP_STATE_P1 0x0016f9c8 | 6348 | #define BNX2_MCP_STATE_P1 0x0016f9c8 |
6349 | #define BNX2_MCP_STATE_P0 0x0016fdc8 | 6349 | #define BNX2_MCP_STATE_P0 0x0016fdc8 |
6350 | #define BNX2_MCP_STATE_P1_5708 0x001699c8 | ||
6351 | #define BNX2_MCP_STATE_P0_5708 0x00169dc8 | ||
6350 | 6352 | ||
6351 | #define BNX2_SHM_HDR_SIGNATURE BNX2_MCP_SCRATCH | 6353 | #define BNX2_SHM_HDR_SIGNATURE BNX2_MCP_SCRATCH |
6352 | #define BNX2_SHM_HDR_SIGNATURE_SIG_MASK 0xffff0000 | 6354 | #define BNX2_SHM_HDR_SIGNATURE_SIG_MASK 0xffff0000 |