ar71xx: ag71xx: update ethtool support
authorPetr Štetiar <ynezz@true.cz>
Fri, 24 May 2019 23:34:42 +0000 (01:34 +0200)
committerPetr Štetiar <ynezz@true.cz>
Wed, 5 Jun 2019 08:12:30 +0000 (10:12 +0200)
commit971d3585791a522df32a8e851eabd4660470a092
treec249c8c5ca5c4b026f81137dde240c9780597d43
parent206af613b2441f15bc469dea223ff6fa4e5aa55e
ar71xx: ag71xx: update ethtool support

Remove references to broken and mostly deprecated phy_ethtool_ioctl, use
new {s,g}et_link_ksettings and add nway_reset which was previously
handled in phy_ethtool_ioctl.

Cc: John Crispin <john@phrozen.org>
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=1982
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ethtool.c