xref: /openbmc/linux/net/dsa/Kconfig (revision e8fe177a)
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
28396138f0SLennert Buytenhekconfig NET_DSA_TAG_TRAILER
29b3422a31SBen Hutchings	bool
30b3422a31SBen Hutchings
31cafdc45cSJohn Crispinconfig NET_DSA_TAG_QCA
32cafdc45cSJohn Crispin	bool
33cafdc45cSJohn Crispin
345cd8985aSSean Wangconfig NET_DSA_TAG_MTK
355cd8985aSSean Wang	bool
36e8fe177aSJuergen Beisert
37e8fe177aSJuergen Beisertconfig NET_DSA_TAG_LAN9303
38e8fe177aSJuergen Beisert	bool
39e8fe177aSJuergen Beisert
40b3422a31SBen Hutchingsendif
41