提交 8d000e0c 编写于 作者: Y Yonglong Liu 提交者: Xie XiuQi

net: hns: add phy_attached_info() to the hns driver

driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

This patch add the call to phy_attached_info() to the hns driver
to identify which exact PHY drivers and models is in use.

Feature or Bugfix:Bugfix
Signed-off-by: NYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: Nlinyunsheng <linyunsheng@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 6642d2e7
......@@ -1204,6 +1204,8 @@ int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h)
if (unlikely(ret))
return -ENODEV;
phy_attached_info(phy_dev);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册