diff options
| author | Daniel Golle | 2025-05-08 01:59:19 +0000 |
|---|---|---|
| committer | Daniel Golle | 2025-05-26 15:58:03 +0000 |
| commit | d092e7af4097a76a5eb6d213ed58252f610cc923 (patch) | |
| tree | d2779632ef308a82977d5af1cf5bfc8a319e52c8 | |
| parent | bc0b14c8eaa3be6a2e416c9377f990bf21b9fb8d (diff) | |
| download | openwrt-d092e7af4097a76a5eb6d213ed58252f610cc923.tar.gz | |
generic: 6.12: fix patch adding EEE-support to mtk_eth_soc
Upstream now uses struct ethtool_keee instead of struct ethtool_eee
as parameter to EEE-related functions. Follow that change and modify
the patch accordingly.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -rw-r--r-- | target/linux/generic/backport-6.12/753-v6.15-net-ethernet-mediatek-add-EEE-support.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/backport-6.12/753-v6.15-net-ethernet-mediatek-add-EEE-support.patch b/target/linux/generic/backport-6.12/753-v6.15-net-ethernet-mediatek-add-EEE-support.patch index 9d26480bdf..2ca3f2ef00 100644 --- a/target/linux/generic/backport-6.12/753-v6.15-net-ethernet-mediatek-add-EEE-support.patch +++ b/target/linux/generic/backport-6.12/753-v6.15-net-ethernet-mediatek-add-EEE-support.patch @@ -43,7 +43,7 @@ Signed-off-by: Qingfang Deng <dqfext@gmail.com> return phylink_ethtool_set_pauseparam(mac->phylink, pause); } -+static int mtk_get_eee(struct net_device *dev, struct ethtool_eee *eee) ++static int mtk_get_eee(struct net_device *dev, struct ethtool_keee *eee) +{ + struct mtk_mac *mac = netdev_priv(dev); + u32 reg; @@ -60,7 +60,7 @@ Signed-off-by: Qingfang Deng <dqfext@gmail.com> + return 0; +} + -+static int mtk_set_eee(struct net_device *dev, struct ethtool_eee *eee) ++static int mtk_set_eee(struct net_device *dev, struct ethtool_keee *eee) +{ + struct mtk_mac *mac = netdev_priv(dev); + u32 txidle_thd_ms, reg; |