summaryrefslogtreecommitdiff
path: root/drivers/net/bnx2.h
diff options
context:
space:
mode:
authorEddie Wai <waie@broadcom.com>2010-05-17 17:32:56 -0700
committerDavid S. Miller <davem@davemloft.net>2010-05-17 17:32:56 -0700
commitb98eba52784fbd4a96241c5395c2c8d99fdb9433 (patch)
tree219ee5004554753984442b98043a45b03c831632 /drivers/net/bnx2.h
parenta7fc948f4d11d80ac2bd08335dc1e0fb77ddf468 (diff)
downloadlwn-b98eba52784fbd4a96241c5395c2c8d99fdb9433.tar.gz
lwn-b98eba52784fbd4a96241c5395c2c8d99fdb9433.zip
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.h2
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 {
#define BNX2_MCP_SCRATCH 0x00160000
#define BNX2_MCP_STATE_P1 0x0016f9c8
#define BNX2_MCP_STATE_P0 0x0016fdc8
+#define BNX2_MCP_STATE_P1_5708 0x001699c8
+#define BNX2_MCP_STATE_P0_5708 0x00169dc8
#define BNX2_SHM_HDR_SIGNATURE BNX2_MCP_SCRATCH
#define BNX2_SHM_HDR_SIGNATURE_SIG_MASK 0xffff0000