mlxsw: core: Extend the index size for temperature sensors readout
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 29 May 2019 08:47:21 +0000 (11:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 19:59:46 +0000 (12:59 -0700)
commit984aec75212899e9b18010088428554c2d9bc4d8
tree894b241fb15169a6822b83ebf04986736b06b6af
parent2e265a8b6c09407ac719cff5ad13a94bcd1ed911
mlxsw: core: Extend the index size for temperature sensors readout

Extend sensor index size for Management Temperature Bulk Register
(MTBR) and Management Temperature Register (MTMP) upto 12 bits in
order to align registers description with new version of PRM document.
Add define for base sensor index for SFP modules temperature reading
for MTMP register.

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