1
0
Fork 0
alistair23-linux/drivers/net/ethernet/cavium
Ivan Khoronzhuk 3ce96a55b7 net: ethernet: cavium: octeon_mgmt: use phy_start and phy_stop
[ Upstream commit 4663ff6025 ]

To start also "phy state machine", with UP state as it should be,
the phy_start() has to be used, in another case machine even is not
triggered. After this change negotiation is supposed to be triggered
by SM workqueue.

It's not correct usage, but it appears after the following patch,
so add it as a fix.

Fixes: 74a992b359 ("net: phy: add phy_check_link_status")
Signed-off-by: Ivan Khoronzhuk <ikhoronz@cisco.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-14 10:33:03 +02:00
..
common net: cavium: Use the correct style for SPDX License Identifier 2019-10-15 15:00:56 -07:00
liquidio liquidio: Fix wrong return value in cn23xx_get_pf_num() 2020-08-19 08:16:20 +02:00
octeon net: ethernet: cavium: octeon_mgmt: use phy_start and phy_stop 2020-10-14 10:33:03 +02:00
thunder net: thunderx: initialize VF's mailbox mutex before first usage 2020-08-19 08:16:21 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00