xref: /openbmc/linux/net/dsa/Kconfig (revision 11d8f3dd)
1b3422a31SBen Hutchingsconfig HAVE_NET_DSA
2b3422a31SBen Hutchings	def_bool y
33a89eaa6SVivien Didelot	depends on INET && NETDEVICES && !S390
4b3422a31SBen Hutchings
5b3422a31SBen Hutchings# Drivers must select NET_DSA and the appropriate tagging format
6b3422a31SBen Hutchings
73b158859SBen Hutchingsconfig NET_DSA
8c6f15070SMathieu Olivari	tristate "Distributed Switch Architecture"
9768bfa2aSTobias Regnery	depends on HAVE_NET_DSA && MAY_USE_DEVLINK
10ee0ab7a2SAndrew Lunn	depends on BRIDGE || BRIDGE=n
113a89eaa6SVivien Didelot	select NET_SWITCHDEV
1211d8f3ddSFlorian Fainelli	select PHYLINK
13c6f15070SMathieu Olivari	---help---
14c6f15070SMathieu Olivari	  Say Y if you want to enable support for the hardware switches supported
15c6f15070SMathieu Olivari	  by the Distributed Switch Architecture.
1691da11f8SLennert Buytenhek
17b3422a31SBen Hutchingsif NET_DSA
1891da11f8SLennert Buytenhek
192a93c1a3SFlorian Fainelliconfig NET_DSA_LEGACY
202a93c1a3SFlorian Fainelli	bool "Support for older platform device and Device Tree registration"
212a93c1a3SFlorian Fainelli	default y
222a93c1a3SFlorian Fainelli	---help---
232a93c1a3SFlorian Fainelli	  Say Y if you want to enable support for the older platform device and
242a93c1a3SFlorian Fainelli	  deprecated Device Tree binding registration.
252a93c1a3SFlorian Fainelli
262a93c1a3SFlorian Fainelli	  This feature is scheduled for removal in 4.17.
272a93c1a3SFlorian Fainelli
2891da11f8SLennert Buytenhek# tagging formats
295037d532SFlorian Fainelliconfig NET_DSA_TAG_BRCM
305037d532SFlorian Fainelli	bool
315037d532SFlorian Fainelli
32b74b70c4SFlorian Fainelliconfig NET_DSA_TAG_BRCM_PREPEND
33b74b70c4SFlorian Fainelli	bool
34b74b70c4SFlorian Fainelli
35cf85d08fSLennert Buytenhekconfig NET_DSA_TAG_DSA
36b3422a31SBen Hutchings	bool
37cf85d08fSLennert Buytenhek
3891da11f8SLennert Buytenhekconfig NET_DSA_TAG_EDSA
39b3422a31SBen Hutchings	bool
4091da11f8SLennert Buytenhek
418b8010fbSWoojung Huhconfig NET_DSA_TAG_KSZ
428b8010fbSWoojung Huh	bool
438b8010fbSWoojung Huh
44eb7b7211SAndrew Lunnconfig NET_DSA_TAG_LAN9303
45cafdc45cSJohn Crispin	bool
46cafdc45cSJohn Crispin
475cd8985aSSean Wangconfig NET_DSA_TAG_MTK
485cd8985aSSean Wang	bool
49e8fe177aSJuergen Beisert
50eb7b7211SAndrew Lunnconfig NET_DSA_TAG_TRAILER
51eb7b7211SAndrew Lunn	bool
52eb7b7211SAndrew Lunn
53eb7b7211SAndrew Lunnconfig NET_DSA_TAG_QCA
54e8fe177aSJuergen Beisert	bool
55e8fe177aSJuergen Beisert
56b3422a31SBen Hutchingsendif
57