Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 1 | config HAVE_NET_DSA |
| 2 | def_bool y |
Vivien Didelot | 0e1cfde | 2017-01-09 16:49:26 -0500 | [diff] [blame] | 3 | depends on INET && NETDEVICES && !S390 |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 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" |
Vivien Didelot | 0e1cfde | 2017-01-09 16:49:26 -0500 | [diff] [blame] | 9 | depends on HAVE_NET_DSA |
| 10 | select NET_SWITCHDEV |
David S. Miller | 45cec1b | 2008-10-08 17:33:01 -0700 | [diff] [blame] | 11 | select PHYLIB |
Mathieu Olivari | c6f1507 | 2015-03-20 18:31:03 -0700 | [diff] [blame] | 12 | ---help--- |
| 13 | Say Y if you want to enable support for the hardware switches supported |
| 14 | by the Distributed Switch Architecture. |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 15 | |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 16 | if NET_DSA |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 17 | |
Guenter Roeck | 51579c3 | 2014-10-29 10:44:58 -0700 | [diff] [blame] | 18 | config 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 Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 29 | # tagging formats |
Florian Fainelli | 5037d53 | 2014-08-27 17:04:55 -0700 | [diff] [blame] | 30 | config NET_DSA_TAG_BRCM |
| 31 | bool |
| 32 | |
Lennert Buytenhek | cf85d08 | 2008-10-07 13:45:02 +0000 | [diff] [blame] | 33 | config NET_DSA_TAG_DSA |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 34 | bool |
Lennert Buytenhek | cf85d08 | 2008-10-07 13:45:02 +0000 | [diff] [blame] | 35 | |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 36 | config NET_DSA_TAG_EDSA |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 37 | bool |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 38 | |
Lennert Buytenhek | 396138f0 | 2008-10-07 13:46:07 +0000 | [diff] [blame] | 39 | config NET_DSA_TAG_TRAILER |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 40 | bool |
| 41 | |
John Crispin | cafdc45 | 2016-09-15 16:26:40 +0200 | [diff] [blame] | 42 | config NET_DSA_TAG_QCA |
| 43 | bool |
| 44 | |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 45 | endif |