提交 b1d672d3 编写于 作者: H Hao Lan 提交者: openeuler-sync-bot

net: hns3: fix the HCLGE_OPC_WOL_CFG opcode id for wol

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I65FSF
CVE: NA

----------------------------------------------------------------------

Fix the HCLGE_OPC_WOL_CFG opcode id for wol.

Fixes: c3c5f044 ("net: hns3: support wake on lan configuration and query")
Signed-off-by: NHao Lan <lanhao@huawei.com>
Signed-off-by: NJiantao Xiao <xiaojiantao1@h-partners.com>
(cherry picked from commit 987f422a)
上级 9e0b0088
...@@ -294,8 +294,8 @@ enum hclge_opcode_type { ...@@ -294,8 +294,8 @@ enum hclge_opcode_type {
HCLGE_PPP_CMD0_INT_CMD = 0x2100, HCLGE_PPP_CMD0_INT_CMD = 0x2100,
HCLGE_PPP_CMD1_INT_CMD = 0x2101, HCLGE_PPP_CMD1_INT_CMD = 0x2101,
HCLGE_MAC_ETHERTYPE_IDX_RD = 0x2105, HCLGE_MAC_ETHERTYPE_IDX_RD = 0x2105,
HCLGE_OPC_WOL_CFG = 0x2200,
HCLGE_OPC_WOL_GET_SUPPORTED_MODE = 0x2201, HCLGE_OPC_WOL_GET_SUPPORTED_MODE = 0x2201,
HCLGE_OPC_WOL_CFG = 0x2202,
HCLGE_NCSI_INT_EN = 0x2401, HCLGE_NCSI_INT_EN = 0x2401,
/* ROH MAC commands */ /* ROH MAC commands */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册