net: r6040: Allow restarting auto-negotiation
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 23 May 2021 15:58:42 +0000 (08:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2021 00:23:59 +0000 (17:23 -0700)
commit5d6c3d91ad722bad16346bcd3e839c7649e5dca4
tree9647abeb8dd86e53c5b7171db573c361ad56f91a
parent2ae83ed289c0b9add3d5d4d045d5907c1fafc4e6
net: r6040: Allow restarting auto-negotiation

Use phy_ethtool_nway_reset() since the driver makes use of the PHY
library.

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