1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Distributed Switch Architecture drivers"
3 depends on HAVE_NET_DSA
5 source "drivers/net/dsa/b53/Kconfig"
8 tristate "Broadcom Starfighter 2 Ethernet switch support"
9 depends on HAS_IOMEM && NET_DSA
10 select NET_DSA_TAG_BRCM
13 select MDIO_BCM_UNIMAC
16 This enables support for the Broadcom Starfighter 2 Ethernet
20 tristate "DSA mock-up Ethernet switch chip support"
24 This enables support for a fake mock-up switch chip which
25 exercises the DSA APIs.
27 source "drivers/net/dsa/hirschmann/Kconfig"
29 config NET_DSA_LANTIQ_GSWIP
30 tristate "Lantiq / Intel GSWIP"
31 depends on HAS_IOMEM && NET_DSA
32 select NET_DSA_TAG_GSWIP
34 This enables support for the Lantiq / Intel GSWIP 2.1 found in
38 tristate "MediaTek MT753x and MT7621 Ethernet switch support"
40 select NET_DSA_TAG_MTK
42 This enables support for the MediaTek MT7530, MT7531, and MT7621
43 Ethernet switch chips.
45 config NET_DSA_MV88E6060
46 tristate "Marvell 88E6060 ethernet switch chip support"
48 select NET_DSA_TAG_TRAILER
50 This enables support for the Marvell 88E6060 ethernet switch
53 source "drivers/net/dsa/microchip/Kconfig"
55 source "drivers/net/dsa/mv88e6xxx/Kconfig"
57 source "drivers/net/dsa/ocelot/Kconfig"
59 source "drivers/net/dsa/qca/Kconfig"
61 source "drivers/net/dsa/sja1105/Kconfig"
64 tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
66 select NET_DSA_TAG_QCA
69 This enables support for the Qualcomm Atheros QCA8K Ethernet
72 config NET_DSA_REALTEK_SMI
73 tristate "Realtek SMI Ethernet switch family support"
75 select NET_DSA_TAG_RTL4_A
81 This enables support for the Realtek SMI-based switch
82 chips, currently only RTL8366RB.
84 config NET_DSA_SMSC_LAN9303
86 select NET_DSA_TAG_LAN9303
89 This enables support for the SMSC/Microchip LAN9303 3 port ethernet
92 config NET_DSA_SMSC_LAN9303_I2C
93 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
94 depends on NET_DSA && I2C
95 select NET_DSA_SMSC_LAN9303
98 Enable access functions if the SMSC/Microchip LAN9303 is configured
101 config NET_DSA_SMSC_LAN9303_MDIO
102 tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
104 select NET_DSA_SMSC_LAN9303
106 Enable access functions if the SMSC/Microchip LAN9303 is configured
107 for MDIO managed mode.
109 config NET_DSA_VITESSE_VSC73XX
116 This enables support for the Vitesse VSC7385, VSC7388,
117 VSC7395 and VSC7398 SparX integrated ethernet switches.
119 config NET_DSA_VITESSE_VSC73XX_SPI
120 tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
123 select NET_DSA_VITESSE_VSC73XX
125 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
126 and VSC7398 SparX integrated ethernet switches in SPI managed mode.
128 config NET_DSA_VITESSE_VSC73XX_PLATFORM
129 tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
132 select NET_DSA_VITESSE_VSC73XX
134 This enables support for the Vitesse VSC7385, VSC7388, VSC7395
135 and VSC7398 SparX integrated ethernet switches, connected over
136 a CPU-attached address bus and work in memory-mapped I/O mode.