cxgb4: collect on-chip memory information
Collect memory layout of various on-chip memory regions. Move code for collecting on-chip memory information to cudbg_lib.c and update cxgb4_debugfs.c to use the common function. Also include cudbg_entity.h before cudbg_lib.h to avoid adding cudbg entity structure forward declarations in cudbg_lib.h. Signed-off-by:Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by:
Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/chelsio/cxgb4/cudbg_entity.h 35 additions, 0 deletionsdrivers/net/ethernet/chelsio/cxgb4/cudbg_entity.h
- drivers/net/ethernet/chelsio/cxgb4/cudbg_if.h 1 addition, 0 deletionsdrivers/net/ethernet/chelsio/cxgb4/cudbg_if.h
- drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c 288 additions, 1 deletiondrivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
- drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h 5 additions, 1 deletiondrivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c 4 additions, 1 deletiondrivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.h 1 addition, 0 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.h
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c 40 additions, 238 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
Loading
Please register or sign in to comment