net/hns:bugfix of ethtool -t phy self_test
authorLin Yun Sheng <linyunsheng@huawei.com>
Fri, 16 Jun 2017 09:24:51 +0000 (17:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jun 2017 18:20:42 +0000 (14:20 -0400)
commit7fe5b914313ff67d71cb2b5aa4b850e0884e75dd
tree7839c37b5d2ee929265b75ea55e713c6e325ed48
parent9745e362add89432d2c951272a99b0a5fe4348a9
net/hns:bugfix of ethtool -t phy self_test

This patch fixes the phy loopback self_test failed issue. when
Marvell Phy Module is loaded, it will powerdown fiber when doing
phy loopback self test, which cause phy loopback self_test fail.

Signed-off-by: Lin Yun Sheng <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c