diff options
author | liuzhongzhu <liuzhongzhu@huawei.com> | 2018-12-15 15:31:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-15 10:54:18 -0800 |
commit | 27cf979a15841eed5de06b6f46ae490ce2fda46b (patch) | |
tree | 20388c13f9cb1bd941d14babc8263b3d1f2027cc /scripts/module-common.lds | |
parent | 7737f1fbb5ba1581e8b77ed4b2302485fa237f1e (diff) |
net: hns3: Add "status register" information query function
This patch prints status register information by module.
debugfs command:
echo dump reg [mode name] > cmd
Sample Command:
root@(none)# echo dump reg bios common > cmd
BP_CPU_STATE: 0x0
DFX_MSIX_INFO_NIC_0: 0xc000
DFX_MSIX_INFO_NIC_1: 0xf
DFX_MSIX_INFO_NIC_2: 0x2
DFX_MSIX_INFO_NIC_3: 0x2
DFX_MSIX_INFO_ROC_0: 0xc000
DFX_MSIX_INFO_ROC_1: 0x0
DFX_MSIX_INFO_ROC_2: 0x0
DFX_MSIX_INFO_ROC_3: 0x0
root@(none)#
Signed-off-by: liuzhongzhu <liuzhongzhu@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/module-common.lds')
0 files changed, 0 insertions, 0 deletions