xref: /openbmc/linux/net/dsa/Kconfig (revision b74b70c4)
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
103a89eaa6SVivien Didelot	select NET_SWITCHDEV
1145cec1baSDavid S. Miller	select PHYLIB
12c6f15070SMathieu Olivari	---help---
13c6f15070SMathieu Olivari	  Say Y if you want to enable support for the hardware switches supported
14c6f15070SMathieu Olivari	  by the Distributed Switch Architecture.
1591da11f8SLennert Buytenhek
16b3422a31SBen Hutchingsif NET_DSA
1791da11f8SLennert Buytenhek
1891da11f8SLennert Buytenhek# tagging formats
195037d532SFlorian Fainelliconfig NET_DSA_TAG_BRCM
205037d532SFlorian Fainelli	bool
215037d532SFlorian Fainelli
22b74b70c4SFlorian Fainelliconfig NET_DSA_TAG_BRCM_PREPEND
23b74b70c4SFlorian Fainelli	bool
24b74b70c4SFlorian Fainelli
25cf85d08fSLennert Buytenhekconfig NET_DSA_TAG_DSA
26b3422a31SBen Hutchings	bool
27cf85d08fSLennert Buytenhek
2891da11f8SLennert Buytenhekconfig NET_DSA_TAG_EDSA
29b3422a31SBen Hutchings	bool
3091da11f8SLennert Buytenhek
318b8010fbSWoojung Huhconfig NET_DSA_TAG_KSZ
328b8010fbSWoojung Huh	bool
338b8010fbSWoojung Huh
34eb7b7211SAndrew Lunnconfig NET_DSA_TAG_LAN9303
35cafdc45cSJohn Crispin	bool
36cafdc45cSJohn Crispin
375cd8985aSSean Wangconfig NET_DSA_TAG_MTK
385cd8985aSSean Wang	bool
39e8fe177aSJuergen Beisert
40eb7b7211SAndrew Lunnconfig NET_DSA_TAG_TRAILER
41eb7b7211SAndrew Lunn	bool
42eb7b7211SAndrew Lunn
43eb7b7211SAndrew Lunnconfig NET_DSA_TAG_QCA
44e8fe177aSJuergen Beisert	bool
45e8fe177aSJuergen Beisert
46b3422a31SBen Hutchingsendif
47