xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision 7c768f84)
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_MT7530
27	tristate "Mediatek MT7530 Ethernet switch support"
28	depends on NET_DSA
29	select NET_DSA_TAG_MTK
30	---help---
31	  This enables support for the Mediatek MT7530 Ethernet switch
32	  chip.
33
34config NET_DSA_MV88E6060
35	tristate "Marvell 88E6060 ethernet switch chip support"
36	depends on NET_DSA && NET_DSA_LEGACY
37	select NET_DSA_TAG_TRAILER
38	---help---
39	  This enables support for the Marvell 88E6060 ethernet switch
40	  chip.
41
42source "drivers/net/dsa/microchip/Kconfig"
43
44source "drivers/net/dsa/mv88e6xxx/Kconfig"
45
46config NET_DSA_QCA8K
47	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
48	depends on NET_DSA
49	select NET_DSA_TAG_QCA
50	select REGMAP
51	---help---
52	  This enables support for the Qualcomm Atheros QCA8K Ethernet
53	  switch chips.
54
55config NET_DSA_REALTEK_SMI
56	tristate "Realtek SMI Ethernet switch family support"
57	depends on NET_DSA
58	select FIXED_PHY
59	select IRQ_DOMAIN
60	select REALTEK_PHY
61	select REGMAP
62	---help---
63	  This enables support for the Realtek SMI-based switch
64	  chips, currently only RTL8366RB.
65
66config NET_DSA_SMSC_LAN9303
67	tristate
68	select NET_DSA_TAG_LAN9303
69	---help---
70	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
71	  switch chips.
72
73config NET_DSA_SMSC_LAN9303_I2C
74	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
75	depends on NET_DSA && I2C
76	select NET_DSA_SMSC_LAN9303
77	select REGMAP_I2C
78	---help---
79	  Enable access functions if the SMSC/Microchip LAN9303 is configured
80	  for I2C managed mode.
81
82config NET_DSA_SMSC_LAN9303_MDIO
83	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
84	depends on NET_DSA
85	select NET_DSA_SMSC_LAN9303
86	---help---
87	  Enable access functions if the SMSC/Microchip LAN9303 is configured
88	  for MDIO managed mode.
89
90config NET_DSA_VITESSE_VSC73XX
91	tristate "Vitesse VSC7385/7388/7395/7398 support"
92	depends on OF && SPI
93	depends on NET_DSA
94	select FIXED_PHY
95	select VITESSE_PHY
96	select GPIOLIB
97	---help---
98	  This enables support for the Vitesse VSC7385, VSC7388,
99	  VSC7395 and VSC7398 SparX integrated ethernet switches.
100
101endmenu
102