mbox series

[OpenWrt-Devel,0/6] ar71xx, ath79, ramips: ethtool fixes and cleanup (FS#1982)

Message ID 1558785521-31779-1-git-send-email-ynezz@true.cz
Headers show
Series ar71xx, ath79, ramips: ethtool fixes and cleanup (FS#1982) | expand

Message

Petr Štetiar May 25, 2019, 11:58 a.m. UTC
Hi,

this patch series fixes currently broken ethtool on ar71xx/ath79 as reported
by several people in FS#1982.

ethtool doesn't work currently as phy_ethtool_ioctl expects user space
pointer, but it's being passed kernel one. Fixing it doesn't make sense as
{s,g}et_settings were deprecated anyway.  So let's rather remove
phy_ethtool_ioctl and use new {s,g}et_link_ksettings instead.

Ref: https://bugs.openwrt.org/index.php?do=details&task_id=1982

Petr Štetiar (6):
  kernel: generic: remove broken and obsolete phy_ethtool_ioctl
  ramips: ethernet: remove unused SIOCETHTOOL ioctl handling
  ath79: ag71xx: remove unused SIOCETHTOOL ioctl handling
  ar71xx: ag71xx: remove unused SIOCETHTOOL ioctl handling
  ath79: ag71xx: update ethtool support
  ar71xx: ag71xx: update ethtool support

 .../net/ethernet/atheros/ag71xx/ag71xx_ethtool.c   | 48 ++++-------
 .../net/ethernet/atheros/ag71xx/ag71xx_main.c      | 10 ---
 .../net/ethernet/atheros/ag71xx/ag71xx_ethtool.c   | 40 ++++-----
 .../net/ethernet/atheros/ag71xx/ag71xx_main.c      | 11 +--
 .../generic/pending-4.14/701-phy_extension.patch   | 95 ----------------------
 .../generic/pending-4.19/701-phy_extension.patch   | 95 ----------------------
 .../drivers/net/ethernet/mediatek/mtk_eth_soc.c    | 13 +--
 7 files changed, 30 insertions(+), 282 deletions(-)
 delete mode 100644 target/linux/generic/pending-4.14/701-phy_extension.patch
 delete mode 100644 target/linux/generic/pending-4.19/701-phy_extension.patch