Loading
net: phy: add set_loopback interface to realtek phy driver
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. Fixes: 46a3df9f ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support") Signed-off-by:Yufeng Mo <moyufeng@huawei.com> Reviewed-by:
lipeng <lipeng321@huawei.com> Signed-off-by:
Jijie Shao <shaojijie@huawei.com>