xref: /openbmc/linux/net/dsa/Kconfig (revision eb7b7211)
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
28eb7b7211SAndrew Lunnconfig NET_DSA_TAG_LAN9303
29cafdc45cSJohn Crispin	bool
30cafdc45cSJohn Crispin
315cd8985aSSean Wangconfig NET_DSA_TAG_MTK
325cd8985aSSean Wang	bool
33e8fe177aSJuergen Beisert
34eb7b7211SAndrew Lunnconfig NET_DSA_TAG_TRAILER
35eb7b7211SAndrew Lunn	bool
36eb7b7211SAndrew Lunn
37eb7b7211SAndrew Lunnconfig NET_DSA_TAG_QCA
38e8fe177aSJuergen Beisert	bool
39e8fe177aSJuergen Beisert
40b3422a31SBen Hutchingsendif
41