Skip to content

Commit

Permalink
net/hns3: rename RAS module
Browse files Browse the repository at this point in the history
Rename ROH_MAC module as HIMAC to avoid misunderstandings.

Fixes: 1c1eb75 ("net/hns3: support RAS process in Kunpeng 930")
Cc: [email protected]

Signed-off-by: Jie Hai <[email protected]>
  • Loading branch information
Jie Hai authored and shemminger committed Jan 14, 2025
1 parent 2a24b3f commit 167adc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/net/hns3/hns3_intr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1432,8 +1432,8 @@ static const struct hns3_hw_mod_name hns3_hw_module_name[] = {
.module_name = MODULE_MASTER,
.msg = "MODULE_MASTER"
}, {
.module_name = MODULE_ROH_MAC,
.msg = "MODULE_ROH_MAC"
.module_name = MODULE_HIMAC,
.msg = "MODULE_HIMAC"
}
};

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/hns3/hns3_intr.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ enum hns3_mod_name_list {
MODULE_RCB_TX,
MODULE_TXDMA,
MODULE_MASTER,
MODULE_ROH_MAC,
MODULE_HIMAC,
};

enum hns3_err_type_list {
Expand Down

0 comments on commit 167adc8

Please sign in to comment.