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 |
viresh kumar | 82167cb | 2012-11-23 19:53:54 +0000 | [diff] [blame] | 8 | tristate |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 9 | depends on HAVE_NET_DSA |
David S. Miller | 45cec1b | 2008-10-08 17:33:01 -0700 | [diff] [blame] | 10 | select PHYLIB |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 11 | |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 12 | if NET_DSA |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 13 | |
Guenter Roeck | 51579c3 | 2014-10-29 10:44:58 -0700 | [diff] [blame] | 14 | config 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 Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 25 | # tagging formats |
Florian Fainelli | 5037d53 | 2014-08-27 17:04:55 -0700 | [diff] [blame] | 26 | config NET_DSA_TAG_BRCM |
| 27 | bool |
| 28 | |
Lennert Buytenhek | cf85d08 | 2008-10-07 13:45:02 +0000 | [diff] [blame] | 29 | config NET_DSA_TAG_DSA |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 30 | bool |
Lennert Buytenhek | cf85d08 | 2008-10-07 13:45:02 +0000 | [diff] [blame] | 31 | |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 32 | config NET_DSA_TAG_EDSA |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 33 | bool |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 34 | |
Lennert Buytenhek | 396138f | 2008-10-07 13:46:07 +0000 | [diff] [blame] | 35 | config NET_DSA_TAG_TRAILER |
Ben Hutchings | b3422a3 | 2012-11-26 09:16:10 +0000 | [diff] [blame] | 36 | bool |
| 37 | |
| 38 | endif |