]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Add phy_ethtool_nway_reset
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 15 Nov 2016 18:06:30 +0000 (10:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2016 21:33:35 +0000 (16:33 -0500)
commit4d50e48d28472a59473eb24ce3607aba620a7e4b
treebe43672cce5a26dc00630cebd4cfcb30f0baf1c6
parent00868b3b0dedaa76a083b513f240f4993fcc6860
net: phy: Add phy_ethtool_nway_reset

This function just calls into genphy_restart_aneg() to perform an
autonegotation restart.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h