summaryrefslogtreecommitdiff
path: root/drivers/net/phy/mdio-thunder.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-06-05 12:23:00 +0100
committerDavid S. Miller <davem@davemloft.net>2017-06-06 21:14:13 -0400
commit002ba7058a7f141cf22d37967a4ef78239c50e9e (patch)
tree8a72dbee1f940693c4087f196f4fe8f0399d7855 /drivers/net/phy/mdio-thunder.c
parent41408ad519f7a2a1c5229e61f2a97f4df1b61adc (diff)
net: phy: hook up clause 45 autonegotiation restart
genphy_restart_aneg() can only restart autonegotiation on clause 22 PHYs. Add a phy_restart_aneg() function which selects between the clause 22 and clause 45 restart functionality depending on the PHY type and whether the Clause 45 PHY supports the Clause 22 register set. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-thunder.c')
0 files changed, 0 insertions, 0 deletions