net: hns: Use phy_driver to setup Phy loopback

Use function set_loopback in phy_driver to setup phy loopback
when doing ethtool self test.

Signed-off-by: Lin Yun Sheng <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Lin Yun Sheng 2017-06-30 17:44:16 +08:00 • committed by David S. Miller
commit 67cd9a997f
2 changed files with 35 additions and 71 deletions