Commit 13e63517 authored by Michael Chan's avatar Michael Chan Committed by David S. Miller

bnx2: Dump additional BC_STATE during firmware sync timeout.

Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 555069da
...@@ -2473,6 +2473,7 @@ bnx2_dump_mcp_state(struct bnx2 *bp) ...@@ -2473,6 +2473,7 @@ bnx2_dump_mcp_state(struct bnx2 *bp)
bnx2_shmem_rd(bp, BNX2_BC_STATE_RESET_TYPE)); bnx2_shmem_rd(bp, BNX2_BC_STATE_RESET_TYPE));
pr_cont(" condition[%08x]\n", pr_cont(" condition[%08x]\n",
bnx2_shmem_rd(bp, BNX2_BC_STATE_CONDITION)); bnx2_shmem_rd(bp, BNX2_BC_STATE_CONDITION));
DP_SHMEM_LINE(bp, BNX2_BC_RESET_TYPE);
DP_SHMEM_LINE(bp, 0x3cc); DP_SHMEM_LINE(bp, 0x3cc);
DP_SHMEM_LINE(bp, 0x3dc); DP_SHMEM_LINE(bp, 0x3dc);
DP_SHMEM_LINE(bp, 0x3ec); DP_SHMEM_LINE(bp, 0x3ec);
......
...@@ -7355,6 +7355,8 @@ struct bnx2_rv2p_fw_file { ...@@ -7355,6 +7355,8 @@ struct bnx2_rv2p_fw_file {
#define BNX2_BC_STATE_RESET_TYPE_VALUE(msg) (BNX2_BC_STATE_RESET_TYPE_SIG | \ #define BNX2_BC_STATE_RESET_TYPE_VALUE(msg) (BNX2_BC_STATE_RESET_TYPE_SIG | \
(msg)) (msg))
#define BNX2_BC_RESET_TYPE 0x000001c0
#define BNX2_BC_STATE 0x000001c4 #define BNX2_BC_STATE 0x000001c4
#define BNX2_BC_STATE_ERR_MASK 0x0000ff00 #define BNX2_BC_STATE_ERR_MASK 0x0000ff00
#define BNX2_BC_STATE_SIGN 0x42530000 #define BNX2_BC_STATE_SIGN 0x42530000
......
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