blob: 5f8ac404535bb6143d3fc2e90cacf5b0f0200129 [file] [log] [blame]
Ben Hutchingsb3422a32012-11-26 09:16:10 +00001config 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
Ben Hutchings3b158852011-11-27 17:08:33 +00007config NET_DSA
viresh kumar82167cb2012-11-23 19:53:54 +00008 tristate
Ben Hutchingsb3422a32012-11-26 09:16:10 +00009 depends on HAVE_NET_DSA
David S. Miller45cec1b2008-10-08 17:33:01 -070010 select PHYLIB
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000011
Ben Hutchingsb3422a32012-11-26 09:16:10 +000012if NET_DSA
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000013
Guenter Roeck51579c32014-10-29 10:44:58 -070014config 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
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000025# tagging formats
Florian Fainelli5037d532014-08-27 17:04:55 -070026config NET_DSA_TAG_BRCM
27 bool
28
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000029config NET_DSA_TAG_DSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000030 bool
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000031
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000032config NET_DSA_TAG_EDSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000033 bool
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000034
Lennert Buytenhek396138f2008-10-07 13:46:07 +000035config NET_DSA_TAG_TRAILER
Ben Hutchingsb3422a32012-11-26 09:16:10 +000036 bool
37
38endif