xref: /openbmc/linux/net/dsa/Kconfig (revision 3557b3fd)
1config HAVE_NET_DSA
2	def_bool y
3	depends on INET && NETDEVICES && !S390
4
5# Drivers must select NET_DSA and the appropriate tagging format
6
7config NET_DSA
8	tristate "Distributed Switch Architecture"
9	depends on HAVE_NET_DSA
10	depends on BRIDGE || BRIDGE=n
11	select NET_SWITCHDEV
12	select PHYLINK
13	select NET_DEVLINK
14	---help---
15	  Say Y if you want to enable support for the hardware switches supported
16	  by the Distributed Switch Architecture.
17
18if NET_DSA
19
20config NET_DSA_LEGACY
21	bool "Support for older platform device and Device Tree registration"
22	default y
23	---help---
24	  Say Y if you want to enable support for the older platform device and
25	  deprecated Device Tree binding registration.
26
27	  This feature is scheduled for removal in 4.17.
28
29# tagging formats
30config NET_DSA_TAG_BRCM
31	bool
32
33config NET_DSA_TAG_BRCM_PREPEND
34	bool
35
36config NET_DSA_TAG_DSA
37	bool
38
39config NET_DSA_TAG_EDSA
40	bool
41
42config NET_DSA_TAG_GSWIP
43	bool
44
45config NET_DSA_TAG_KSZ
46	bool
47
48config NET_DSA_TAG_KSZ9477
49	bool
50	select NET_DSA_TAG_KSZ
51
52config NET_DSA_TAG_LAN9303
53	bool
54
55config NET_DSA_TAG_MTK
56	bool
57
58config NET_DSA_TAG_TRAILER
59	bool
60
61config NET_DSA_TAG_QCA
62	bool
63
64endif
65