diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2015-01-07 08:48:00 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-08 19:39:09 -0800 |
commit | 49aa284ffe64c4c13d63d315aa374e0f4bdd4b7c (patch) | |
tree | e5c4b1755ba2ed6969044a453b84bd018b669897 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |
parent | cd91cc5bdddf50f5c775fe5baeef7891b31d8741 (diff) | |
download | lwn-49aa284ffe64c4c13d63d315aa374e0f4bdd4b7c.tar.gz lwn-49aa284ffe64c4c13d63d315aa374e0f4bdd4b7c.zip |
cxgb4: Add support for devlog
Add support for device log entry in debugfs
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/cxgb4.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index 5ab5c3133acd..73b1f3aea092 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h @@ -290,11 +290,19 @@ enum chip_type { T5_LAST_REV = T5_A1, }; +struct devlog_params { + u32 memtype; /* which memory (EDC0, EDC1, MC) */ + u32 start; /* start of log in firmware memory */ + u32 size; /* size of log */ +}; + struct adapter_params { struct sge_params sge; struct tp_params tp; struct vpd_params vpd; struct pci_params pci; + struct devlog_params devlog; + enum pcie_memwin drv_memwin; unsigned int sf_size; /* serial flash size in bytes */ unsigned int sf_nsec; /* # of flash sectors */ |