# SPDX-License-Identifier: GPL-2.0-only
menu "Distributed Switch Architecture drivers"
depends on [31mCONFIG_HAVE_NET_DSA[0m
source "drivers/net/dsa/b53/Kconfig"
config [31mCONFIG_NET_DSA_BCM_SF2[0m
tristate "Broadcom Starfighter 2 Ethernet switch support"
depends on [31mCONFIG_HAS_IOMEM[0m && [31mCONFIG_NET_DSA[0m
select [31mCONFIG_NET_DSA_TAG_BRCM[0m
select [31mCONFIG_FIXED_PHY[0m
select [31mCONFIG_BCM7XXX_PHY[0m
select [31mCONFIG_MDIO_BCM_UNIMAC[0m
select [31mCONFIG_B53[0m
---help---
This enables support for the Broadcom Starfighter 2 Ethernet
switch chips.
config [31mCONFIG_NET_DSA_LOOP[0m
tristate "DSA mock-up Ethernet switch chip support"
depends on [31mCONFIG_NET_DSA[0m
select [31mCONFIG_FIXED_PHY[0m
---help---
This enables support for a fake mock-up switch chip which
exercises the DSA APIs.
config [31mCONFIG_NET_DSA_LANTIQ_GSWIP[0m
tristate "Lantiq / Intel GSWIP"
depends on [31mCONFIG_HAS_IOMEM[0m && [31mCONFIG_NET_DSA[0m
select [31mCONFIG_NET_DSA_TAG_GSWIP[0m
---help---
This enables support for the Lantiq / Intel GSWIP 2.1 found in
the xrx200 / VR9 SoC.
config [31mCONFIG_NET_DSA_MT7530[0m
tristate "Mediatek MT7530 Ethernet switch support"
depends on [31mCONFIG_NET_DSA[0m
select [31mCONFIG_NET_DSA_TAG_MTK[0m
---help---
This enables support for the Mediatek MT7530 Ethernet switch
chip.
config [31mCONFIG_NET_DSA_MV88E6060[0m
tristate "Marvell 88E6060 ethernet switch chip support"
depends on [31mCONFIG_NET_DSA[0m
select [31mCONFIG_NET_DSA_TAG_TRAILER[0m
---help---
This enables support for the Marvell 88E6060 ethernet switch
chip.
source "drivers/net/dsa/microchip/Kconfig"
source "drivers/net/dsa/mv88e6xxx/Kconfig"
source "drivers/net/dsa/sja1105/Kconfig"
config [31mCONFIG_NET_DSA_QCA8K[0m
tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
depends on [31mCONFIG_NET_DSA[0m
select [31mCONFIG_NET_DSA_TAG_QCA[0m
select [31mCONFIG_REGMAP[0m
---help---
This enables support for the Qualcomm Atheros QCA8K Ethernet
switch chips.
config [31mCONFIG_NET_DSA_REALTEK_SMI[0m
tristate "Realtek SMI Ethernet switch family support"
depends on [31mCONFIG_NET_DSA[0m
select [31mCONFIG_FIXED_PHY[0m
select [31mCONFIG_IRQ_DOMAIN[0m
select [31mCONFIG_REALTEK_PHY[0m
select [31mCONFIG_REGMAP[0m
---help---
This enables support for the Realtek SMI-based switch
chips, currently only RTL8366RB.
config [31mCONFIG_NET_DSA_SMSC_LAN9303[0m
tristate
select [31mCONFIG_NET_DSA_TAG_LAN9303[0m
---help---
This enables support for the SMSC/Microchip LAN9303 3 port ethernet
switch chips.
config [31mCONFIG_NET_DSA_SMSC_LAN9303_I2C[0m
tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
depends on [31mCONFIG_NET_DSA[0m && [31mCONFIG_I2C[0m
select [31mCONFIG_NET_DSA_SMSC_LAN9303[0m
select [31mCONFIG_REGMAP_I2C[0m
---help---
Enable access functions if the SMSC/Microchip LAN9303 is configured
for [31mCONFIG_I2C[0m managed mode.
config [31mCONFIG_NET_DSA_SMSC_LAN9303_MDIO[0m
tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
depends on [31mCONFIG_NET_DSA[0m
select [31mCONFIG_NET_DSA_SMSC_LAN9303[0m
---help---
Enable access functions if the SMSC/Microchip LAN9303 is configured
for [31mCONFIG_MDIO[0m managed mode.
config [31mCONFIG_NET_DSA_VITESSE_VSC73XX[0m
tristate
depends on [31mCONFIG_OF[0m
depends on [31mCONFIG_NET_DSA[0m
select [31mCONFIG_FIXED_PHY[0m
select [31mCONFIG_VITESSE_PHY[0m
select [31mCONFIG_GPIOLIB[0m
---help---
This enables support for the Vitesse VSC7385, VSC7388,
VSC7395 and VSC7398 SparX integrated ethernet switches.
config [31mCONFIG_NET_DSA_VITESSE_VSC73XX_SPI[0m
tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
depends on [31mCONFIG_OF[0m
depends on [31mCONFIG_NET_DSA[0m
depends on [31mCONFIG_SPI[0m
select [31mCONFIG_NET_DSA_VITESSE_VSC73XX[0m
---help---
This enables support for the Vitesse VSC7385, VSC7388, VSC7395
and VSC7398 SparX integrated ethernet switches in [31mCONFIG_SPI[0m managed mode.
config [31mCONFIG_NET_DSA_VITESSE_VSC73XX_PLATFORM[0m
tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
depends on [31mCONFIG_OF[0m
depends on [31mCONFIG_NET_DSA[0m
depends on [31mCONFIG_HAS_IOMEM[0m
select [31mCONFIG_NET_DSA_VITESSE_VSC73XX[0m
---help---
This enables support for the Vitesse VSC7385, VSC7388, VSC7395
and VSC7398 SparX integrated ethernet switches, connected over
a CPU-attached address bus and work in memory-mapped I/O mode.
endmenu