summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
diff options
context:
space:
mode:
authorVishal Kulkarni <vishal@chelsio.com>2020-06-18 08:05:56 +0200
committerDavid S. Miller <davem@davemloft.net>2020-06-19 05:49:55 +0200
commit17b332f48074e7ee2169ee4268ced6274e1c95c3 (patch)
tree841d5b860c906a8a8029bf4ea6d517d31e3c08ab /drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
parentcxgb4: add support to flash boot cfg image (diff)
downloadlinux-17b332f48074e7ee2169ee4268ced6274e1c95c3.tar.xz
linux-17b332f48074e7ee2169ee4268ced6274e1c95c3.zip
cxgb4: add support to read serial flash
This patch adds support to dump flash memory via ethtool --get-dump Signed-off-by: Vishal Kulkarni <vishal@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h b/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
index 10ee6ed1d932..0f488d52797b 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
@@ -162,7 +162,9 @@ int cudbg_collect_hma_meminfo(struct cudbg_init *pdbg_init,
int cudbg_collect_qdesc(struct cudbg_init *pdbg_init,
struct cudbg_buffer *dbg_buff,
struct cudbg_error *cudbg_err);
-
+int cudbg_collect_flash(struct cudbg_init *pdbg_init,
+ struct cudbg_buffer *dbg_buff,
+ struct cudbg_error *cudbg_err);
struct cudbg_entity_hdr *cudbg_get_entity_hdr(void *outbuf, int i);
void cudbg_align_debug_buffer(struct cudbg_buffer *dbg_buff,
struct cudbg_entity_hdr *entity_hdr);