Thread (3 messages) 3 messages, 3 authors, 2025-09-01
STALE320d

[PATCH] net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM

From: Geert Uytterhoeven <geert+renesas@glider.be>
Date: 2025-08-29 11:27:16
Also in: lkml
Subsystem: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

The Qualcomm Technologies, Inc. Packet Process Engine (PPE) is only
present on Qualcomm IPQ SoCs.  Hence add a dependency on ARCH_QCOM, to
prevent asking the user about this driver when configuring a kernel
without Qualcomm platform support,

Fixes: 353a0f1d5b27606b ("net: ethernet: qualcomm: Add PPE driver for IPQ9574 SoC")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/net/ethernet/qualcomm/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/qualcomm/Kconfig b/drivers/net/ethernet/qualcomm/Kconfig
index 29e6d746ad31ad7e..ba7efb108637cc15 100644
--- a/drivers/net/ethernet/qualcomm/Kconfig
+++ b/drivers/net/ethernet/qualcomm/Kconfig
@@ -62,8 +62,8 @@ config QCOM_EMAC
 
 config QCOM_PPE
 	tristate "Qualcomm Technologies, Inc. PPE Ethernet support"
-	depends on HAS_IOMEM && OF
-	depends on COMMON_CLK
+	depends on COMMON_CLK && HAS_IOMEM && OF
+	depends on ARCH_QCOM || COMPILE_TEST
 	select REGMAP_MMIO
 	help
 	  This driver supports the Qualcomm Technologies, Inc. packet
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help