xref: /openbmc/linux/drivers/net/dsa/Kconfig (revision e58e871b)
1menu "Distributed Switch Architecture drivers"
2	depends on HAVE_NET_DSA
3
4config NET_DSA_MV88E6060
5	tristate "Marvell 88E6060 ethernet switch chip support"
6	depends on NET_DSA
7	select NET_DSA_TAG_TRAILER
8	---help---
9	  This enables support for the Marvell 88E6060 ethernet switch
10	  chip.
11
12config NET_DSA_BCM_SF2
13	tristate "Broadcom Starfighter 2 Ethernet switch support"
14	depends on HAS_IOMEM && NET_DSA && OF_MDIO
15	select NET_DSA_TAG_BRCM
16	select FIXED_PHY
17	select BCM7XXX_PHY
18	select MDIO_BCM_UNIMAC
19	select B53
20	---help---
21	  This enables support for the Broadcom Starfighter 2 Ethernet
22	  switch chips.
23
24source "drivers/net/dsa/b53/Kconfig"
25
26source "drivers/net/dsa/mv88e6xxx/Kconfig"
27
28config NET_DSA_QCA8K
29	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
30	depends on NET_DSA
31	select NET_DSA_TAG_QCA
32	select REGMAP
33	---help---
34	  This enables support for the Qualcomm Atheros QCA8K Ethernet
35	  switch chips.
36
37config NET_DSA_LOOP
38	tristate "DSA mock-up Ethernet switch chip support"
39	depends on NET_DSA
40	select FIXED_PHY
41	---help---
42	  This enables support for a fake mock-up switch chip which
43	  exercises the DSA APIs.
44
45config NET_DSA_MT7530
46	tristate "Mediatek MT7530 Ethernet switch support"
47	depends on NET_DSA
48	select NET_DSA_TAG_MTK
49	---help---
50	  This enables support for the Mediatek MT7530 Ethernet switch
51	  chip.
52
53config NET_DSA_SMSC_LAN9303
54	tristate
55	select NET_DSA_TAG_LAN9303
56	---help---
57	  This enables support for the SMSC/Microchip LAN9303 3 port ethernet
58	  switch chips.
59
60config NET_DSA_SMSC_LAN9303_I2C
61	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
62	depends on NET_DSA && I2C
63	select NET_DSA_SMSC_LAN9303
64	select REGMAP_I2C
65	---help---
66	  Enable access functions if the SMSC/Microchip LAN9303 is configured
67	  for I2C managed mode.
68
69config NET_DSA_SMSC_LAN9303_MDIO
70	tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in MDIO managed mode"
71	depends on NET_DSA
72	select NET_DSA_SMSC_LAN9303
73	---help---
74	  Enable access functions if the SMSC/Microchip LAN9303 is configured
75	  for MDIO managed mode.
76
77endmenu
78