diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-01-07 08:48:01 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-08 19:39:10 -0800 |
commit | f1ff24aa95f5612c7744d1ff9b8394a9e09bc6c9 (patch) | |
tree | 89256dd891b856473e72ce6985ff0340ba7d5ad2 /drivers/net/ethernet/chelsio/cxgb4/t4_hw.h | |
parent | 49aa284ffe64c4c13d63d315aa374e0f4bdd4b7c (diff) |
cxgb4: Add support for cim_la entry in debugfs
The CIM LA captures the embedded processor’s internal state. Optionally, it can
also trace the flow of data in and out of the embedded processor. Therefore, the
CIM LA output contains detailed information of what code the embedded processor
executed prior to the CIM LA capture.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4_hw.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4_hw.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h index 5e5eee6c6b5e..bcc925b20088 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h +++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.h @@ -56,6 +56,10 @@ enum { }; enum { + CIMLA_SIZE = 2048, /* # of 32-bit words in CIM LA */ +}; + +enum { SF_PAGE_SIZE = 256, /* serial flash page size */ SF_SEC_SIZE = 64 * 1024, /* serial flash sector size */ }; |