xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision 828ff2ad)
1menu "Distributed Switch Architecture drivers"
2	depends on HAVE_NET_DSA
3
4source "drivers/net/dsa/b53/Kconfig"
5
6config NET_DSA_BCM_SF2
7	tristate "Broadcom Starfighter 2 Ethernet switch support"
8	depends on HAS_IOMEM && NET_DSA
9	select NET_DSA_TAG_BRCM
10	select FIXED_PHY
11	select BCM7XXX_PHY
12	select MDIO_BCM_UNIMAC
13	select B53
14	---help---
15	  This enables support for the Broadcom Starfighter 2 Ethernet
16	  switch chips.
17
18config NET_DSA_LOOP
19	tristate "DSA mock-up Ethernet switch chip support"
20	depends on NET_DSA
21	select FIXED_PHY
22	---help---
23	  This enables support for a fake mock-up switch chip which
24	  exercises the DSA APIs.
25
26config NET_DSA_LANTIQ_GSWIP
27	tristate "Lantiq / Intel GSWIP"
28	depends on HAS_IOMEM && NET_DSA
29	select NET_DSA_TAG_GSWIP
30	---help---
31	  This enables support for the Lantiq / Intel GSWIP 2.1 found in
32	  the xrx200 / VR9 SoC.
33
34config NET_DSA_MT7530
35	tristate "Mediatek MT7530 Ethernet switch support"
36	depends on NET_DSA
37	select NET_DSA_TAG_MTK
38	---help---
39	  This enables support for the Mediatek MT7530 Ethernet switch
40	  chip.
41
42config NET_DSA_MV88E6060
43	tristate "Marvell 88E6060 ethernet switch chip support"
44	depends on NET_DSA && NET_DSA_LEGACY
45	select NET_DSA_TAG_TRAILER
46	---help---
47	  This enables support for the Marvell 88E6060 ethernet switch
48	  chip.
49
50source "drivers/net/dsa/microchip/Kconfig"
51
52source "drivers/net/dsa/mv88e6xxx/Kconfig"
53
54config NET_DSA_QCA8K
55	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
56	depends on NET_DSA
57	select NET_DSA_TAG_QCA
58	select REGMAP
59	---help---
60	  This enables support for the Qualcomm Atheros QCA8K Ethernet
61	  switch chips.
62
63config NET_DSA_REALTEK_SMI
64	tristate "Realtek SMI Ethernet switch family support"
65	depends on NET_DSA
66	select FIXED_PHY
67	select IRQ_DOMAIN
68	select REALTEK_PHY
69	select REGMAP
70	---help---
71	  This enables support for the Realtek SMI-based switch
72	  chips, currently only RTL8366RB.
73
74config NET_DSA_SMSC_LAN9303
75	tristate
76	select NET_DSA_TAG_LAN9303
77	---help---
78	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
79	  switch chips.
80
81config NET_DSA_SMSC_LAN9303_I2C
82	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
83	depends on NET_DSA && I2C
84	select NET_DSA_SMSC_LAN9303
85	select REGMAP_I2C
86	---help---
87	  Enable access functions if the SMSC/Microchip LAN9303 is configured
88	  for I2C managed mode.
89
90config NET_DSA_SMSC_LAN9303_MDIO
91	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
92	depends on NET_DSA
93	select NET_DSA_SMSC_LAN9303
94	---help---
95	  Enable access functions if the SMSC/Microchip LAN9303 is configured
96	  for MDIO managed mode.
97
98config NET_DSA_VITESSE_VSC73XX
99	tristate "Vitesse VSC7385/7388/7395/7398 support"
100	depends on OF && SPI
101	depends on NET_DSA
102	select FIXED_PHY
103	select VITESSE_PHY
104	select GPIOLIB
105	---help---
106	  This enables support for the Vitesse VSC7385, VSC7388,
107	  VSC7395 and VSC7398 SparX integrated ethernet switches.
108
109endmenu
110