Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 1 | config 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 Hutchings | 3b15885 | 2011-11-27 17:08:33 +0000 | [diff] [blame] | 7 | config NET_DSA |
Mathieu Olivari | c6f1507 | 2015-03-20 18:31:03 -0700 | [diff] [blame] | 8 | tristate "Distributed Switch Architecture" |
Jiri Pirko | bd76a11 | 2015-03-16 12:33:32 +0100 | [diff] [blame] | 9 | depends on HAVE_NET_DSA && NET_SWITCHDEV |
David S. Miller | 45cec1b | 2008-10-08 17:33:01 -0700 | [diff] [blame] | 10 | select PHYLIB |
Mathieu Olivari | c6f1507 | 2015-03-20 18:31:03 -0700 | [diff] [blame] | 11 | ---help--- |
| 12 | Say Y if you want to enable support for the hardware switches supported |
| 13 | by the Distributed Switch Architecture. |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 14 | |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 15 | if NET_DSA |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 16 | |
Guenter Roeck | 51579c3 | 2014-10-29 10:44:58 -0700 | [diff] [blame] | 17 | config 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 Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 28 | # tagging formats |
Florian Fainelli | 5037d53 | 2014-08-27 17:04:55 -0700 | [diff] [blame] | 29 | config NET_DSA_TAG_BRCM |
| 30 | bool |
| 31 | |
Lennert Buytenhek | cf85d08 | 2008-10-07 13:45:02 +0000 | [diff] [blame] | 32 | config NET_DSA_TAG_DSA |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 33 | bool |
Lennert Buytenhek | cf85d08 | 2008-10-07 13:45:02 +0000 | [diff] [blame] | 34 | |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 35 | config NET_DSA_TAG_EDSA |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 36 | bool |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 37 | |
Lennert Buytenhek | 396138f | 2008-10-07 13:46:07 +0000 | [diff] [blame] | 38 | config NET_DSA_TAG_TRAILER |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 39 | bool |
| 40 | |
| 41 | endif |