diff options
author | Vadim Pasternak <vadimp@mellanox.com> | 2019-10-06 09:34:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-06 19:31:39 +0300 |
commit | 5cfa030a1c2cf70e2fb0815a74fab1b459bc2a2b (patch) | |
tree | 5d1deaf104356d5e6c2abebc74353fb14ac03a27 /drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c | |
parent | 0eb8516b8e9ad1ff11655750e993e0bb3b254a4a (diff) | |
download | linux-5cfa030a1c2cf70e2fb0815a74fab1b459bc2a2b.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c b/drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c index 5b00726c4346..69c192839bf9 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c +++ b/drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c @@ -590,7 +590,7 @@ static int mlxsw_hwmon_gearbox_init(struct mlxsw_hwmon *mlxsw_hwmon) if (err) return err; - mlxsw_reg_mgpir_unpack(mgpir_pl, &gbox_num, NULL, NULL); + mlxsw_reg_mgpir_unpack(mgpir_pl, &gbox_num, NULL, NULL, NULL); if (!gbox_num) return 0; |