mlxsw: reg: Extend MGPIR register with new field exposing the number of QSFP modules
authorVadim Pasternak <vadimp@mellanox.com>
Sun, 6 Oct 2019 06:34:48 +0000 (09:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 16:31:39 +0000 (18:31 +0200)
commit5cfa030a1c2cf70e2fb0815a74fab1b459bc2a2b
tree5d1deaf104356d5e6c2abebc74353fb14ac03a27
parent0eb8516b8e9ad1ff11655750e993e0bb3b254a4a
mlxsw: reg: Extend MGPIR register with new field exposing the number of QSFP modules

Extend MGPIR - Management General Peripheral Information Register
with new field "num_of_modules" exposing the number of modules
supported by specific system.

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/core_hwmon.c
drivers/net/ethernet/mellanox/mlxsw/core_thermal.c
drivers/net/ethernet/mellanox/mlxsw/reg.h