File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed
Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 44# Lukasz Majewski <
[email protected] >
55# SPDX-License-Identifier: Apache-2.0
66
7+ config ETH_DSA_SUPPORT
8+ bool
9+ help
10+ Set by an ethernet driver that supports DSA.
11+
712menuconfig NET_DSA
813 bool "Distributed Switch Architecture support"
9- depends on ETH_MCUX || ETH_SAM_GMAC || ETH_STM32_HAL || ETH_NXP_ENET
14+ depends on ETH_DSA_SUPPORT
1015 help
1116 Enable Distributed Switch Architecture support. For now it
1217 only supports Kinetics and STM32 ENET drivers.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ menuconfig ETH_SAM_GMAC
1111 DT_HAS_ATMEL_SAM0_GMAC_ENABLED
1212 select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
1313 select MDIO
14+ select ETH_DSA_SUPPORT
1415 help
1516 Enable Atmel SAM MCU Family Ethernet driver.
1617
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ menuconfig ETH_STM32_HAL
1111 select USE_STM32_HAL_ETH
1212 select NOCACHE_MEMORY if SOC_SERIES_STM32H7X && CPU_CORTEX_M7
1313 select HWINFO
14+ select ETH_DSA_SUPPORT
1415 imply CRC
1516 help
1617 Enable STM32 HAL based Ethernet driver. It is available for
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ config ETH_NXP_ENET
1818 select ARM_MPU if CPU_CORTEX_M7
1919 select MDIO if DT_HAS_NXP_ENET_MDIO_ENABLED
2020 select NET_POWER_MANAGEMENT if (PM_DEVICE && SOC_FAMILY_KINETIS)
21+ select ETH_DSA_SUPPORT
2122 help
2223 Enable NXP ENET Ethernet driver.
2324
@@ -26,6 +27,7 @@ config ETH_MCUX
2627 select NOCACHE_MEMORY if HAS_MCUX_CACHE && CPU_HAS_DCACHE
2728 select ARM_MPU if CPU_CORTEX_M7
2829 select NET_POWER_MANAGEMENT if PM_DEVICE
30+ select ETH_DSA_SUPPORT
2931 select DEPRECATED
3032 help
3133 Enable deprecated legacy MCUX Ethernet driver.
You can’t perform that action at this time.
0 commit comments