Kconfig 3.7 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
2
menu "Distributed Switch Architecture drivers"
3
	depends on HAVE_NET_DSA
4

A
Andrew Lunn 已提交
5
source "drivers/net/dsa/b53/Kconfig"
6

7 8
config NET_DSA_BCM_SF2
	tristate "Broadcom Starfighter 2 Ethernet switch support"
9
	depends on HAS_IOMEM && NET_DSA
10
	select NET_DSA_TAG_BRCM
11
	select FIXED_PHY
12 13
	select BCM7XXX_PHY
	select MDIO_BCM_UNIMAC
14
	select B53
15 16 17 18
	---help---
	  This enables support for the Broadcom Starfighter 2 Ethernet
	  switch chips.

F
Florian Fainelli 已提交
19 20 21 22 23 24 25 26
config NET_DSA_LOOP
	tristate "DSA mock-up Ethernet switch chip support"
	depends on NET_DSA
	select FIXED_PHY
	---help---
	  This enables support for a fake mock-up switch chip which
	  exercises the DSA APIs.

27 28
config NET_DSA_LANTIQ_GSWIP
	tristate "Lantiq / Intel GSWIP"
29
	depends on HAS_IOMEM && NET_DSA
30 31 32 33 34
	select NET_DSA_TAG_GSWIP
	---help---
	  This enables support for the Lantiq / Intel GSWIP 2.1 found in
	  the xrx200 / VR9 SoC.

35 36 37 38 39 40 41 42
config NET_DSA_MT7530
	tristate "Mediatek MT7530 Ethernet switch support"
	depends on NET_DSA
	select NET_DSA_TAG_MTK
	---help---
	  This enables support for the Mediatek MT7530 Ethernet switch
	  chip.

A
Andrew Lunn 已提交
43 44
config NET_DSA_MV88E6060
	tristate "Marvell 88E6060 ethernet switch chip support"
45
	depends on NET_DSA
A
Andrew Lunn 已提交
46 47 48 49 50
	select NET_DSA_TAG_TRAILER
	---help---
	  This enables support for the Marvell 88E6060 ethernet switch
	  chip.

51 52
source "drivers/net/dsa/microchip/Kconfig"

A
Andrew Lunn 已提交
53 54
source "drivers/net/dsa/mv88e6xxx/Kconfig"

55 56
source "drivers/net/dsa/ocelot/Kconfig"

57 58
source "drivers/net/dsa/qca/Kconfig"

59 60
source "drivers/net/dsa/sja1105/Kconfig"

A
Andrew Lunn 已提交
61 62 63 64 65 66 67 68 69
config NET_DSA_QCA8K
	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
	depends on NET_DSA
	select NET_DSA_TAG_QCA
	select REGMAP
	---help---
	  This enables support for the Qualcomm Atheros QCA8K Ethernet
	  switch chips.

70 71 72 73 74 75 76 77 78 79 80
config NET_DSA_REALTEK_SMI
	tristate "Realtek SMI Ethernet switch family support"
	depends on NET_DSA
	select FIXED_PHY
	select IRQ_DOMAIN
	select REALTEK_PHY
	select REGMAP
	---help---
	  This enables support for the Realtek SMI-based switch
	  chips, currently only RTL8366RB.

81 82 83
config NET_DSA_SMSC_LAN9303
	tristate
	select NET_DSA_TAG_LAN9303
84
	select REGMAP
85 86 87 88 89 90
	---help---
	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
	  switch chips.

config NET_DSA_SMSC_LAN9303_I2C
	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
91
	depends on NET_DSA && I2C
92 93 94 95 96 97
	select NET_DSA_SMSC_LAN9303
	select REGMAP_I2C
	---help---
	  Enable access functions if the SMSC/Microchip LAN9303 is configured
	  for I2C managed mode.

98 99 100 101 102 103 104 105
config NET_DSA_SMSC_LAN9303_MDIO
	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
	depends on NET_DSA
	select NET_DSA_SMSC_LAN9303
	---help---
	  Enable access functions if the SMSC/Microchip LAN9303 is configured
	  for MDIO managed mode.

106
config NET_DSA_VITESSE_VSC73XX
107
	tristate
108 109 110 111 112 113 114 115
	depends on NET_DSA
	select FIXED_PHY
	select VITESSE_PHY
	select GPIOLIB
	---help---
	  This enables support for the Vitesse VSC7385, VSC7388,
	  VSC7395 and VSC7398 SparX integrated ethernet switches.

116 117
config NET_DSA_VITESSE_VSC73XX_SPI
	tristate "Vitesse VSC7385/7388/7395/7398 SPI mode support"
118
	depends on NET_DSA
119 120 121 122 123
	depends on SPI
	select NET_DSA_VITESSE_VSC73XX
	---help---
	  This enables support for the Vitesse VSC7385, VSC7388, VSC7395
	  and VSC7398 SparX integrated ethernet switches in SPI managed mode.
124 125 126

config NET_DSA_VITESSE_VSC73XX_PLATFORM
	tristate "Vitesse VSC7385/7388/7395/7398 Platform mode support"
127
	depends on NET_DSA
128 129 130 131 132 133
	depends on HAS_IOMEM
	select NET_DSA_VITESSE_VSC73XX
	---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.
134
endmenu