mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 15:35:04 +07:00
staging: octeon: fix broken phylib usage
Commit2b3e88ea65
("net: phy: improve phy state checking") added checks for phylib usage, and this triggers with OCTEON ethernet and results in broken networking. Fix by replacing phy_start_aneg() with phy_start(). Fixes:2b3e88ea65
("net: phy: improve phy state checking") Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f17b5f06cb
commit
49230b49c4
@ -170,7 +170,7 @@ int cvm_oct_phy_setup_device(struct net_device *dev)
|
|||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
||||||
priv->last_link = 0;
|
priv->last_link = 0;
|
||||||
phy_start_aneg(phydev);
|
phy_start(phydev);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
no_phy:
|
no_phy:
|
||||||
|
Loading…
Reference in New Issue
Block a user