blob: 39bb5b3a82f266a4c2e22b64e96edd9a8a28a576 [file] [log] [blame]
Ben Hutchingsb3422a32012-11-26 09:16:10 +00001config HAVE_NET_DSA
2 def_bool y
Vivien Didelot0e1cfde2017-01-09 16:49:26 -05003 depends on INET && NETDEVICES && !S390
Ben Hutchingsb3422a32012-11-26 09:16:10 +00004
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"
Vivien Didelot0e1cfde2017-01-09 16:49:26 -05009 depends on HAVE_NET_DSA
10 select NET_SWITCHDEV
David S. Miller45cec1b2008-10-08 17:33:01 -070011 select PHYLIB
Mathieu Olivaric6f15072015-03-20 18:31:03 -070012 ---help---
13 Say Y if you want to enable support for the hardware switches supported
14 by the Distributed Switch Architecture.
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000015
Ben Hutchingsb3422a32012-11-26 09:16:10 +000016if NET_DSA
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000017
Guenter Roeck51579c32014-10-29 10:44:58 -070018config NET_DSA_HWMON
19 bool "Distributed Switch Architecture HWMON support"
20 default y
21 depends on HWMON && !(NET_DSA=y && HWMON=m)
22 ---help---
23 Say Y if you want to expose thermal sensor data on switches supported
24 by the Distributed Switch Architecture.
25
26 Some of those switches contain thermal sensors. This data is available
27 via the hwmon sysfs interface and exposes the onboard sensors.
28
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000029# tagging formats
Florian Fainelli5037d532014-08-27 17:04:55 -070030config NET_DSA_TAG_BRCM
31 bool
32
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000033config NET_DSA_TAG_DSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000034 bool
Lennert Buytenhekcf85d082008-10-07 13:45:02 +000035
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000036config NET_DSA_TAG_EDSA
Ben Hutchingsb3422a32012-11-26 09:16:10 +000037 bool
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000038
Lennert Buytenhek396138f02008-10-07 13:46:07 +000039config NET_DSA_TAG_TRAILER
Ben Hutchingsb3422a32012-11-26 09:16:10 +000040 bool
41
John Crispincafdc452016-09-15 16:26:40 +020042config NET_DSA_TAG_QCA
43 bool
44
Ben Hutchingsb3422a32012-11-26 09:16:10 +000045endif