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)
commit6b0c54060ecb678473d442bba01fcb2b3079f594
tree518accb2d5a8336aeb7a1d3d7acf8179a52d50a7
parent6ef398ea60d931b97d69ed080bd0bd00fac38ec6
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