]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: restart phy autonegotiation after EEE advertisment change
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 31 Mar 2017 09:37:12 +0000 (10:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Apr 2017 03:04:03 +0000 (20:04 -0700)
commiteea4a052ee8d1e8f73efd38de6ce5552ab6e4bdd
tree3fb1f0ccf768c0f93a14e853cd4a06bde154db37
parent89d8612821d3322e24c5cba781ba3c6106b37f57
net: phy: restart phy autonegotiation after EEE advertisment change

When the EEE advertisment is changed, we should restart autonegotiation
to update the link partner with the new EEE settings.  Add this trigger
but only if the advertisment has changed.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c