[openwrt/openwrt] ipq40xx: ipqess: remove explicit phylink_generic_validate() references
LEDE Commits
lede-commits at lists.infradead.org
Sun Jul 20 06:38:38 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2a31e006d6e7432776a1a9d82aefc178c6ed491b
commit 2a31e006d6e7432776a1a9d82aefc178c6ed491b
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Tue May 6 19:30:52 2025 +0800
ipq40xx: ipqess: remove explicit phylink_generic_validate() references
The phylink_generic_validate() can be automatically called if
phylink_validate method was not given in the switch operations.
Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=5938bce4b6e2146d5194badd7ecf0acc6bf877fc
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18725
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
.../700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch | 3 +--
.../702-net-ipqess-Add-out-of-band-DSA-tagging-support.patch | 2 +-
.../704-net-qualcomm-ipqess-enable-threaded-NAPI-by-default.patch | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/target/linux/ipq40xx/patches-6.6/700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch b/target/linux/ipq40xx/patches-6.6/700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch
index 8c908c07db..447e1898ff 100644
--- a/target/linux/ipq40xx/patches-6.6/700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch
+++ b/target/linux/ipq40xx/patches-6.6/700-net-ipqess-introduce-the-Qualcomm-IPQESS-driver.patch
@@ -88,7 +88,7 @@ Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
+ipq_ess-objs := ipqess.o ipqess_ethtool.o
--- /dev/null
+++ b/drivers/net/ethernet/qualcomm/ipqess/ipqess.c
-@@ -0,0 +1,1249 @@
+@@ -0,0 +1,1248 @@
+// SPDX-License-Identifier: GPL-2.0 OR ISC
+/* Copyright (c) 2014 - 2017, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017 - 2018, John Crispin <john at phrozen.org>
@@ -1154,7 +1154,6 @@ Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
+}
+
+static struct phylink_mac_ops ipqess_phylink_mac_ops = {
-+ .validate = phylink_generic_validate,
+ .mac_config = ipqess_mac_config,
+ .mac_link_up = ipqess_mac_link_up,
+ .mac_link_down = ipqess_mac_link_down,
diff --git a/target/linux/ipq40xx/patches-6.6/702-net-ipqess-Add-out-of-band-DSA-tagging-support.patch b/target/linux/ipq40xx/patches-6.6/702-net-ipqess-Add-out-of-band-DSA-tagging-support.patch
index d273ef2656..47bf5e2c16 100644
--- a/target/linux/ipq40xx/patches-6.6/702-net-ipqess-Add-out-of-band-DSA-tagging-support.patch
+++ b/target/linux/ipq40xx/patches-6.6/702-net-ipqess-Add-out-of-band-DSA-tagging-support.patch
@@ -142,7 +142,7 @@ Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
static void ipqess_hw_stop(struct ipqess *ess)
{
int i;
-@@ -1189,12 +1247,19 @@ static int ipqess_axi_probe(struct platf
+@@ -1188,12 +1246,19 @@ static int ipqess_axi_probe(struct platf
netif_napi_add(netdev, &ess->rx_ring[i].napi_rx, ipqess_rx_napi);
}
diff --git a/target/linux/ipq40xx/patches-6.6/704-net-qualcomm-ipqess-enable-threaded-NAPI-by-default.patch b/target/linux/ipq40xx/patches-6.6/704-net-qualcomm-ipqess-enable-threaded-NAPI-by-default.patch
index a366a51465..b85a9633fe 100644
--- a/target/linux/ipq40xx/patches-6.6/704-net-qualcomm-ipqess-enable-threaded-NAPI-by-default.patch
+++ b/target/linux/ipq40xx/patches-6.6/704-net-qualcomm-ipqess-enable-threaded-NAPI-by-default.patch
@@ -38,7 +38,7 @@ Signed-off-by: Robert Marko <robimarko at gmail.com>
}
return IRQ_HANDLED;
-@@ -1269,6 +1269,8 @@ static int ipqess_axi_probe(struct platf
+@@ -1268,6 +1268,8 @@ static int ipqess_axi_probe(struct platf
if (err)
goto err_notifier_unregister;
More information about the lede-commits
mailing list