diff options
| author | Vadim Pasternak <vadimp@nvidia.com> | 2022-04-13 18:17:29 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-04-15 11:06:13 +0100 |
| commit | fd27849dd6fd6913c35948653f8e167672655438 (patch) | |
| tree | 9a92dc5eac7e81be64d60c7a163cd6372f451efd /lib/mpi/mpi-cmp.c | |
| parent | b890ad418e1feada06dddc3f00ee2c8cccf77c13 (diff) | |
mlxsw: core_hwmon: Introduce slot parameter in hwmon interfaces
Add 'slot' parameter to 'mlxsw_hwmon_dev' structure. Use this parameter
in mlxsw_reg_mtmp_pack(), mlxsw_reg_mtbr_pack(), mlxsw_reg_mgpir_pack()
and mlxsw_reg_mtmp_slot_index_set() routines.
For main board it'll always be zero, for line cards it'll be set to
the physical slot number in modular systems.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
