blob: ff7736f7ff42d335b08cef345b3b1309e81b7985 [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
Mathieu Olivaric6f15072015-03-20 18:31:03 -07008 tristate "Distributed Switch Architecture"
Jiri Pirkobd76a112015-03-16 12:33:32 +01009 depends on HAVE_NET_DSA && NET_SWITCHDEV
David S. Miller45cec1b2008-10-08 17:33:01 -070010 select PHYLIB
Mathieu Olivaric6f15072015-03-20 18:31:03 -070011 ---help---
12 Say Y if you want to enable support for the hardware switches supported
13 by the Distributed Switch Architecture.
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000014
Ben Hutchingsb3422a32012-11-26 09:16:10 +000015if NET_DSA
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000016
Guenter Roeck51579c32014-10-29 10:44:58 -070017config 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
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000028# tagging formats
Florian Fainelli5037d532014-08-27 17:04:55 -070029config NET_DSA_TAG_BRCM
30 bool
31
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000032config NET_DSA_TAG_DSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000033 bool
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000034
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000035config NET_DSA_TAG_EDSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000036 bool
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000037
Lennert Buytenhek396138f02008-10-07 13:46:07 +000038config NET_DSA_TAG_TRAILER
Ben Hutchingsb3422a32012-11-26 09:16:10 +000039 bool
40
41endif