linux-brain/drivers/net/ethernet/hisilicon/hns3/hns3pf
Yufeng Mo 2e99f68714 net: hns3: disable phy loopback setting in hclge_mac_start_phy
[ Upstream commit 472497d0bdae890a896013332a0b673f9acdf2bf ]

If selftest and reset are performed at the same time, the phy
loopback setting may be still in enable state after the reset,
and device cannot link up. So fix this issue by disabling phy
loopback before phy_start().

Fixes: 256727da73 ("net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:08:26 +02:00
..
Makefile
hclge_cmd.c
hclge_cmd.h net: hns3: fix error mask definition of flow director 2021-03-17 17:03:40 +01:00
hclge_dcb.c
hclge_dcb.h
hclge_debugfs.c
hclge_debugfs.h net: hns3: remove a misused pragma packed 2020-12-21 13:27:03 +01:00
hclge_err.c net: hns3: fix incorrect configuration for igu_egu_hw_err 2021-05-19 10:08:26 +02:00
hclge_err.h net: hns3: fix incorrect configuration for igu_egu_hw_err 2021-05-19 10:08:26 +02:00
hclge_main.c net: hns3: fix bug when calculating the TCAM table info 2021-03-17 17:03:37 +01:00
hclge_main.h
hclge_mbx.c net: hns3: initialize the message content in hclge_get_link_mode() 2021-05-19 10:08:26 +02:00
hclge_mdio.c net: hns3: disable phy loopback setting in hclge_mac_start_phy 2021-05-19 10:08:26 +02:00
hclge_mdio.h
hclge_tm.c
hclge_tm.h