Skip to content

Commit 939ccd1

Browse files
Jijie Shaodavem330
authored andcommitted
net: hns3: move dump regs function to a separate file
The dump register function is being refactored. The first step in refactoring is put the dump regs function into a separate file. Signed-off-by: Jijie Shao <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 78c53ea commit 939ccd1

File tree

10 files changed

+731
-680
lines changed

10 files changed

+731
-680
lines changed

drivers/net/ethernet/hisilicon/hns3/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ hns3-$(CONFIG_HNS3_DCB) += hns3_dcbnl.o
1717

1818
obj-$(CONFIG_HNS3_HCLGEVF) += hclgevf.o
1919

20-
hclgevf-objs = hns3vf/hclgevf_main.o hns3vf/hclgevf_mbx.o hns3vf/hclgevf_devlink.o \
20+
hclgevf-objs = hns3vf/hclgevf_main.o hns3vf/hclgevf_mbx.o hns3vf/hclgevf_devlink.o hns3vf/hclgevf_regs.o \
2121
hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o hns3_common/hclge_comm_tqp_stats.o
2222

2323
obj-$(CONFIG_HNS3_HCLGE) += hclge.o
24-
hclge-objs = hns3pf/hclge_main.o hns3pf/hclge_mdio.o hns3pf/hclge_tm.o \
24+
hclge-objs = hns3pf/hclge_main.o hns3pf/hclge_mdio.o hns3pf/hclge_tm.o hns3pf/hclge_regs.o \
2525
hns3pf/hclge_mbx.o hns3pf/hclge_err.o hns3pf/hclge_debugfs.o hns3pf/hclge_ptp.o hns3pf/hclge_devlink.o \
2626
hns3_common/hclge_comm_cmd.o hns3_common/hclge_comm_rss.o hns3_common/hclge_comm_tqp_stats.o
2727

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "hclge_debugfs.h"
88
#include "hclge_err.h"
99
#include "hclge_main.h"
10+
#include "hclge_regs.h"
1011
#include "hclge_tm.h"
1112
#include "hnae3.h"
1213

0 commit comments

Comments
 (0)