diff options
author | Vadim Pasternak <vadimp@mellanox.com> | 2019-02-13 14:28:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-14 09:33:02 +0300 |
commit | d93c19a1d95c90b6ded1dc3c8ccfe0e46e220af8 (patch) | |
tree | f0c1657201407feb7044f9745dd4e6a731e21ed7 /drivers/net/ethernet/mellanox/mlxsw/Makefile | |
parent | 3760c2b99e20ee16cd328aca890ac0aca3c72ac5 (diff) | |
download | linux-d93c19a1d95c90b6ded1dc3c8ccfe0e46e220af8.tar.xz |
mlxsw: core: Add API for QSFP module temperature thresholds reading
Add new API to read QSFP module's temperature thresholds - warning and
critical.
New internal API reads the temperature thresholds from the modules,
which are equipped with the thermal sensor. These thresholds will be
exposed via hwmon subsystem.
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/Makefile')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/Makefile b/drivers/net/ethernet/mellanox/mlxsw/Makefile index bbf45f10c208..a01d15546e37 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/Makefile +++ b/drivers/net/ethernet/mellanox/mlxsw/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MLXSW_CORE) += mlxsw_core.o mlxsw_core-objs := core.o core_acl_flex_keys.o \ - core_acl_flex_actions.o + core_acl_flex_actions.o core_env.o mlxsw_core-$(CONFIG_MLXSW_CORE_HWMON) += core_hwmon.o mlxsw_core-$(CONFIG_MLXSW_CORE_THERMAL) += core_thermal.o obj-$(CONFIG_MLXSW_PCI) += mlxsw_pci.o |