summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-20 14:53:27 -0600
committerJerome Forissier <[email protected]>2026-03-31 16:43:28 +0200
commit803e5cc5f9dd47b4f4361270831dd02737657b47 (patch)
tree5174ebb1ab8dd1a392732455461bd25365d43253 /drivers
parenta40defd46a636fcdb38a5cfe4a354ace1730dbe1 (diff)
net: Rework dependencies around NET/NET_LWIP and NETDEVICES
Functionally, both networking stacks require DM_ETH. This is because they both also require some networking devices to be enabled. Express this more correctly by having both NET and NET_LWIP select NETDEVICES. In turn NETDEVICES no longer depends on NET or NET_LWIP as it's not prompted anymore. Signed-off-by: Tom Rini <[email protected]> Reviewed-by: Jerome Forissier <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/Kconfig9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 02063ce3aa9..9d4e9f06970 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -90,9 +90,10 @@ config DSA_SANDBOX
Ethernet device used as DSA master, to test DSA class code, including
exported DSA API and datapath processing of Ethernet traffic.
-menuconfig NETDEVICES
- bool "Network device support"
- depends on NET || NET_LWIP
+menu "Network device support"
+
+config NETDEVICES
+ bool
select DM_ETH
help
You must select Y to enable any network device support
@@ -1106,3 +1107,5 @@ source "drivers/net/pfe_eth/Kconfig"
source "drivers/net/fsl-mc/Kconfig"
endif # NETDEVICES
+
+endmenu