diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-10-29 13:44:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-30 14:54:11 -0400 |
commit | 51579c3f1a9192b75365576227d40c7619493285 (patch) | |
tree | e8609bf267a534ab1e5ea4418e868e476a6f517a /net/dsa/Kconfig | |
parent | 2716777b4f21649fb907b4a4fb96e1c8d0a5ec16 (diff) |
net: dsa: Add support for reporting switch chip temperatures
Some switches provide chip temperature data.
Add support for reporting it through the hwmon subsystem.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/Kconfig')
-rw-r--r-- | net/dsa/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig index a585fd6352eb..5f8ac404535b 100644 --- a/net/dsa/Kconfig +++ b/net/dsa/Kconfig | |||
@@ -11,6 +11,17 @@ config NET_DSA | |||
11 | 11 | ||
12 | if NET_DSA | 12 | if NET_DSA |
13 | 13 | ||
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 | |||
14 | # tagging formats | 25 | # tagging formats |
15 | config NET_DSA_TAG_BRCM | 26 | config NET_DSA_TAG_BRCM |
16 | bool | 27 | bool |