[openwrt/openwrt] qualcommbe: ipq95xx: Add patch fixing unmet dependency for QCOM PPE

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 25 12:24:33 PST 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/364a059b26b788d56655c568791caf03b7c7aaa0

commit 364a059b26b788d56655c568791caf03b7c7aaa0
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Mon Dec 9 18:25:45 2024 +0100

    qualcommbe: ipq95xx: Add patch fixing unmet dependency for QCOM PPE
    
    Add patch fixing unmet dependency for QCOM PPE. This fix a compilation
    error when SFP config is selected.
    
    Link: https://github.com/openwrt/openwrt/pull/17725
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 ...t-qualcomm-ppe-Fix-unmet-dependency-with-.patch | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/target/linux/qualcommbe/patches-6.6/305-net-ethernet-qualcomm-ppe-Fix-unmet-dependency-with-.patch b/target/linux/qualcommbe/patches-6.6/305-net-ethernet-qualcomm-ppe-Fix-unmet-dependency-with-.patch
new file mode 100644
index 0000000000..a2c7061438
--- /dev/null
+++ b/target/linux/qualcommbe/patches-6.6/305-net-ethernet-qualcomm-ppe-Fix-unmet-dependency-with-.patch
@@ -0,0 +1,35 @@
+From a0a04487554ea21db5eaf04f81fc159386a7477d Mon Sep 17 00:00:00 2001
+From: Christian Marangi <ansuelsmth at gmail.com>
+Date: Mon, 9 Dec 2024 18:19:06 +0100
+Subject: [PATCH] net: ethernet: qualcomm: ppe: Fix unmet dependency with
+ QCOM_PPE
+
+Fix unmet dependency with QCOM_PPE on selecting SFP.
+
+WARNING: unmet direct dependencies detected for SFP
+  Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && I2C [=y] && PHYLINK [=y] && (HWMON [=m] || HWMON [=m]=n [=n])
+  Selected by [y]:
+  - QCOM_PPE [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_QUALCOMM [=y] && HAS_IOMEM [=y] && OF [=y] && COMMON_CLK [=y]
+
+This permit correct compilation of the modules with SFP enabled.
+
+Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
+---
+ drivers/net/ethernet/qualcomm/Kconfig | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/net/ethernet/qualcomm/Kconfig b/drivers/net/ethernet/qualcomm/Kconfig
+index a96f6acd4561..364d7e8ea7bf 100644
+--- a/drivers/net/ethernet/qualcomm/Kconfig
++++ b/drivers/net/ethernet/qualcomm/Kconfig
+@@ -68,7 +68,6 @@ config QCOM_PPE
+ 	select REGMAP_MMIO
+ 	select PHYLINK
+ 	select PCS_QCOM_IPQ_UNIPHY
+-	select SFP
+ 	help
+ 	  This driver supports the Qualcomm Technologies, Inc. packet
+ 	  process engine (PPE) available with IPQ SoC. The PPE houses
+-- 
+2.45.2
+




More information about the lede-commits mailing list