aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <ykaukab@suse.de>2019-12-05 10:41:16 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-05 12:10:40 -0800
commita350d2e7adbb57181d33e3aa6f0565632747feaa (patch)
tree80f4c8825f202d728a7ca658dda4e61e5a317534 /drivers/net/ethernet/ti
parenthsr: fix a NULL pointer dereference in hsr_dev_xmit() (diff)
downloadlinux-dev-a350d2e7adbb57181d33e3aa6f0565632747feaa.tar.xz
linux-dev-a350d2e7adbb57181d33e3aa6f0565632747feaa.zip
net: thunderx: start phy before starting autonegotiation
Since commit 2b3e88ea6528 ("net: phy: improve phy state checking") phy_start_aneg() expects phy state to be >= PHY_UP. Call phy_start() before calling phy_start_aneg() during probe so that autonegotiation is initiated. As phy_start() takes care of calling phy_start_aneg(), drop the explicit call to phy_start_aneg(). Network fails without this patch on Octeon TX. Fixes: 2b3e88ea6528 ("net: phy: improve phy state checking") Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti')
0 files changed, 0 insertions, 0 deletions