xref: /linux/net/dsa/Kconfig (revision e0bf6c5ca2d3281f231c5f0c9bf145e9513644de)
1config HAVE_NET_DSA
2	def_bool y
3	depends on NETDEVICES && !S390
4
5# Drivers must select NET_DSA and the appropriate tagging format
6
7config NET_DSA
8	tristate
9	depends on HAVE_NET_DSA
10	select PHYLIB
11
12if NET_DSA
13
14config NET_DSA_HWMON
15	bool "Distributed Switch Architecture HWMON support"
16	default y
17	depends on HWMON && !(NET_DSA=y && HWMON=m)
18	---help---
19	  Say Y if you want to expose thermal sensor data on switches supported
20	  by the Distributed Switch Architecture.
21
22	  Some of those switches contain thermal sensors. This data is available
23	  via the hwmon sysfs interface and exposes the onboard sensors.
24
25# tagging formats
26config NET_DSA_TAG_BRCM
27	bool
28
29config NET_DSA_TAG_DSA
30	bool
31
32config NET_DSA_TAG_EDSA
33	bool
34
35config NET_DSA_TAG_TRAILER
36	bool
37
38endif
39