]> 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)
commit2743139cf82e5de533ae01e2aedb71e30bdb1be0
tree3fb1f0ccf768c0f93a14e853cd4a06bde154db37
parent7a4f233c83c1c60a3e510fc75a440b2b185a0ba8
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