xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision 2359ccdd)
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 && OF_MDIO
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_SMSC_LAN9303
56	tristate
57	select NET_DSA_TAG_LAN9303
58	---help---
59	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
60	  switch chips.
61
62config NET_DSA_SMSC_LAN9303_I2C
63	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
64	depends on NET_DSA && I2C
65	select NET_DSA_SMSC_LAN9303
66	select REGMAP_I2C
67	---help---
68	  Enable access functions if the SMSC/Microchip LAN9303 is configured
69	  for I2C managed mode.
70
71config NET_DSA_SMSC_LAN9303_MDIO
72	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
73	depends on NET_DSA
74	select NET_DSA_SMSC_LAN9303
75	---help---
76	  Enable access functions if the SMSC/Microchip LAN9303 is configured
77	  for MDIO managed mode.
78
79endmenu
80