xref: /openbmc/linux/net/dsa/Kconfig (revision 51579c3f)
1b3422a31SBen Hutchingsconfig HAVE_NET_DSA
2b3422a31SBen Hutchings	def_bool y
3b3422a31SBen Hutchings	depends on NETDEVICES && !S390
4b3422a31SBen Hutchings
5b3422a31SBen Hutchings# Drivers must select NET_DSA and the appropriate tagging format
6b3422a31SBen Hutchings
73b158859SBen Hutchingsconfig NET_DSA
882167cb8Sviresh kumar	tristate
9b3422a31SBen Hutchings	depends on HAVE_NET_DSA
1045cec1baSDavid S. Miller	select PHYLIB
1191da11f8SLennert Buytenhek
12b3422a31SBen Hutchingsif NET_DSA
1391da11f8SLennert Buytenhek
14*51579c3fSGuenter Roeckconfig NET_DSA_HWMON
15*51579c3fSGuenter Roeck	bool "Distributed Switch Architecture HWMON support"
16*51579c3fSGuenter Roeck	default y
17*51579c3fSGuenter Roeck	depends on HWMON && !(NET_DSA=y && HWMON=m)
18*51579c3fSGuenter Roeck	---help---
19*51579c3fSGuenter Roeck	  Say Y if you want to expose thermal sensor data on switches supported
20*51579c3fSGuenter Roeck	  by the Distributed Switch Architecture.
21*51579c3fSGuenter Roeck
22*51579c3fSGuenter Roeck	  Some of those switches contain thermal sensors. This data is available
23*51579c3fSGuenter Roeck	  via the hwmon sysfs interface and exposes the onboard sensors.
24*51579c3fSGuenter Roeck
2591da11f8SLennert Buytenhek# tagging formats
265037d532SFlorian Fainelliconfig NET_DSA_TAG_BRCM
275037d532SFlorian Fainelli	bool
285037d532SFlorian Fainelli
29cf85d08fSLennert Buytenhekconfig NET_DSA_TAG_DSA
30b3422a31SBen Hutchings	bool
31cf85d08fSLennert Buytenhek
3291da11f8SLennert Buytenhekconfig NET_DSA_TAG_EDSA
33b3422a31SBen Hutchings	bool
3491da11f8SLennert Buytenhek
35396138f0SLennert Buytenhekconfig NET_DSA_TAG_TRAILER
36b3422a31SBen Hutchings	bool
37b3422a31SBen Hutchings
38b3422a31SBen Hutchingsendif
39