提交 e0d8496a 编写于 作者: C Constantin Baranov 提交者: David S. Miller

niu: fix PHY template choice for 10G copper

Fixed a typo in niu_determine_phy_disposition() which resulted in
phy_template_1g_copper being selected for 10G/copper configuration.
Signed-off-by: NConstantin Baranov <baranov@mercdev.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ff2ef902
......@@ -2456,7 +2456,7 @@ static int niu_determine_phy_disposition(struct niu *np)
case NIU_FLAGS_10G:
/* 10G copper */
tp = &phy_template_1g_copper;
tp = &phy_template_10g_copper;
break;
case NIU_FLAGS_FIBER:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册