Loading
!10318 【OLK 5.10】net: hns3: add set_loopback interface to realtek phy driver
Merge Pull Request from: @chen-hao418
driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IAFOMC
CVE: NA
--------------------------------------------------------
When using Ubuntu OS, the realtek phy driver is loaded by default
instead of the generic PHY driver. However, the set_loopback
interface is not added to the realtek phy driver. As a result,
the phy selftest fails.
This patch adds the set_loopback interface to the realtek phy driver
so that the phy selftest can run properly.
Link:https://gitee.com/openeuler/kernel/pulls/10318
Reviewed-by:
Yue Haibing <yuehaibing@huawei.com>
Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>