]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: reg: Extend sensor index field size of Management Temperature Register
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 29 May 2019 08:47:18 +0000 (11:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 19:59:46 +0000 (12:59 -0700)
commitae5746783681fa7416b1e17547bb37637f190b34
tree336e48a9f6e03a75f2cbe25ed79a99d3f77227e0
parent961cf99a074f55e1d6deded7590226f6cfca9fb6
mlxsw: reg: Extend sensor index field size of Management Temperature Register

Extend the size of sensor_index field of MTMP (Management Temperature
Register), from 8 to 12 bits due to hardware change.
Add define for sensor index for Gear Box (inter-connects) temperature
reading.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h