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 "Distributed Switch Architecture"
9	depends on HAVE_NET_DSA && NET_SWITCHDEV
10	select PHYLIB
11	---help---
12	  Say Y if you want to enable support for the hardware switches supported
13	  by the Distributed Switch Architecture.
14
15if NET_DSA
16
17config NET_DSA_HWMON
18	bool "Distributed Switch Architecture HWMON support"
19	default y
20	depends on HWMON && !(NET_DSA=y && HWMON=m)
21	---help---
22	  Say Y if you want to expose thermal sensor data on switches supported
23	  by the Distributed Switch Architecture.
24
25	  Some of those switches contain thermal sensors. This data is available
26	  via the hwmon sysfs interface and exposes the onboard sensors.
27
28# tagging formats
29config NET_DSA_TAG_BRCM
30	bool
31
32config NET_DSA_TAG_DSA
33	bool
34
35config NET_DSA_TAG_EDSA
36	bool
37
38config NET_DSA_TAG_TRAILER
39	bool
40
41endif
42