]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: support restarting auto-negotiation
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 26 Nov 2014 05:16:36 +0000 (21:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2014 20:08:05 +0000 (15:08 -0500)
commit264d175a131718615006a1e7cad2bc5b003d8aab
tree518accb2d5a8336aeb7a1d3d7acf8179a52d50a7
parent45226a927f4b39d0982ae0c032291cd6c85668bd
net: bcmgenet: support restarting auto-negotiation

Hook a nway_reset ethtool callback to allow restarting the
auto-negotiation process when asked to. We defer to the PHY library call
to do the heavy lifting.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c