summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
diff options
context:
space:
mode:
authorDmitry Kravkov <dmitry@broadcom.com>2012-03-18 14:33:45 +0400
committerDavid S. Miller <davem@davemloft.net>2012-03-20 00:53:07 +0400
commitde1288041d01120559d53ebd98e0f92476ee56d3 (patch)
tree564ff51d2be23eb4f1c9d5d008538af245767d22 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
parentcb4dca277694f6c53bf6daf0f5c609dda32e4656 (diff)
downloadlinux-de1288041d01120559d53ebd98e0f92476ee56d3.tar.xz
bnx2x: validate FW trace prior to its printing
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
index 0c5f1211559a..5d71b7d43237 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
@@ -1129,6 +1129,8 @@ struct shm_dev_info { /* size */
#define FW_ACK_NUM_OF_POLL (FW_ACK_TIME_OUT_MS/FW_ACK_POLL_TIME_MS)
+#define MFW_TRACE_SIGNATURE 0x54524342
+
/****************************************************************************
* Driver <-> FW Mailbox *
****************************************************************************/