xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision ff148d8a)
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
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
54source "drivers/net/dsa/sja1105/Kconfig"
55
56config NET_DSA_QCA8K
57	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
58	depends on NET_DSA
59	select NET_DSA_TAG_QCA
60	select REGMAP
61	---help---
62	  This enables support for the Qualcomm Atheros QCA8K Ethernet
63	  switch chips.
64
65config NET_DSA_REALTEK_SMI
66	tristate "Realtek SMI Ethernet switch family support"
67	depends on NET_DSA
68	select FIXED_PHY
69	select IRQ_DOMAIN
70	select REALTEK_PHY
71	select REGMAP
72	---help---
73	  This enables support for the Realtek SMI-based switch
74	  chips, currently only RTL8366RB.
75
76config NET_DSA_SMSC_LAN9303
77	tristate
78	select NET_DSA_TAG_LAN9303
79	---help---
80	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
81	  switch chips.
82
83config NET_DSA_SMSC_LAN9303_I2C
84	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
85	depends on NET_DSA && I2C
86	select NET_DSA_SMSC_LAN9303
87	select REGMAP_I2C
88	---help---
89	  Enable access functions if the SMSC/Microchip LAN9303 is configured
90	  for I2C managed mode.
91
92config NET_DSA_SMSC_LAN9303_MDIO
93	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
94	depends on NET_DSA
95	select NET_DSA_SMSC_LAN9303
96	---help---
97	  Enable access functions if the SMSC/Microchip LAN9303 is configured
98	  for MDIO managed mode.
99
100config NET_DSA_VITESSE_VSC73XX
101	tristate "Vitesse VSC7385/7388/7395/7398 support"
102	depends on OF && SPI
103	depends on NET_DSA
104	select FIXED_PHY
105	select VITESSE_PHY
106	select GPIOLIB
107	---help---
108	  This enables support for the Vitesse VSC7385, VSC7388,
109	  VSC7395 and VSC7398 SparX integrated ethernet switches.
110
111endmenu
112