xref: /openbmc/linux/net/dsa/Kconfig (revision 8b8010fb)
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
22cf85d08fSLennert Buytenhekconfig NET_DSA_TAG_DSA
23b3422a31SBen Hutchings	bool
24cf85d08fSLennert Buytenhek
2591da11f8SLennert Buytenhekconfig NET_DSA_TAG_EDSA
26b3422a31SBen Hutchings	bool
2791da11f8SLennert Buytenhek
288b8010fbSWoojung Huhconfig NET_DSA_TAG_KSZ
298b8010fbSWoojung Huh	bool
308b8010fbSWoojung Huh
31eb7b7211SAndrew Lunnconfig NET_DSA_TAG_LAN9303
32cafdc45cSJohn Crispin	bool
33cafdc45cSJohn Crispin
345cd8985aSSean Wangconfig NET_DSA_TAG_MTK
355cd8985aSSean Wang	bool
36e8fe177aSJuergen Beisert
37eb7b7211SAndrew Lunnconfig NET_DSA_TAG_TRAILER
38eb7b7211SAndrew Lunn	bool
39eb7b7211SAndrew Lunn
40eb7b7211SAndrew Lunnconfig NET_DSA_TAG_QCA
41e8fe177aSJuergen Beisert	bool
42e8fe177aSJuergen Beisert
43b3422a31SBen Hutchingsendif
44