diff options
author | Vasundhara Volam <vasundhara-v.volam@broadcom.com> | 2018-08-05 22:51:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-06 02:08:26 +0200 |
commit | cde49a42a9bbba18d7f33550fd70037930c14e97 (patch) | |
tree | 0cf94c307dcde29a16c52ae69681b60a0e54bfce /drivers/net/ethernet/broadcom/Kconfig | |
parent | bnxt_en: Notify firmware about IF state changes. (diff) | |
download | linux-cde49a42a9bbba18d7f33550fd70037930c14e97.tar.xz linux-cde49a42a9bbba18d7f33550fd70037930c14e97.zip |
bnxt_en: Add hwmon sysfs support to read temperature
Export temperature sensor reading via hwmon sysfs.
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/Kconfig')
-rw-r--r-- | drivers/net/ethernet/broadcom/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig index b7aa8ad96dfb..c1d3ee9baf7e 100644 --- a/drivers/net/ethernet/broadcom/Kconfig +++ b/drivers/net/ethernet/broadcom/Kconfig @@ -230,4 +230,12 @@ config BNXT_DCB If unsure, say N. +config BNXT_HWMON + bool "Broadcom NetXtreme-C/E HWMON support" + default y + depends on BNXT && HWMON && !(BNXT=y && HWMON=m) + ---help--- + Say Y if you want to expose the thermal sensor data on NetXtreme-C/E + devices, via the hwmon sysfs interface. + endif # NET_VENDOR_BROADCOM |