xref: /openbmc/linux/net/dsa/Kconfig (revision a72594ca)
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 && MAY_USE_DEVLINK
10	depends on BRIDGE || BRIDGE=n
11	select NET_SWITCHDEV
12	select PHYLIB
13	---help---
14	  Say Y if you want to enable support for the hardware switches supported
15	  by the Distributed Switch Architecture.
16
17if NET_DSA
18
19# tagging formats
20config NET_DSA_TAG_BRCM
21	bool
22
23config NET_DSA_TAG_BRCM_PREPEND
24	bool
25
26config NET_DSA_TAG_DSA
27	bool
28
29config NET_DSA_TAG_EDSA
30	bool
31
32config NET_DSA_TAG_KSZ
33	bool
34
35config NET_DSA_TAG_LAN9303
36	bool
37
38config NET_DSA_TAG_MTK
39	bool
40
41config NET_DSA_TAG_TRAILER
42	bool
43
44config NET_DSA_TAG_QCA
45	bool
46
47endif
48