diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2012-03-18 10:33:45 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-19 20:53:07 (GMT) |
commit | de1288041d01120559d53ebd98e0f92476ee56d3 (patch) | |
tree | 564ff51d2be23eb4f1c9d5d008538af245767d22 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h | |
parent | cb4dca277694f6c53bf6daf0f5c609dda32e4656 (diff) | |
download | linux-fsl-qoriq-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.h | 2 |
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 0c5f121..5d71b7d 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 * ****************************************************************************/ |