From: Ido Schimmel <ido...@mellanox.com>

Patch #1 fixes driver initialization failure on old ASICs due to
unsupported register access. This is fixed by first testing if the
register is supported.

Patch #2 fixes reading of certain modules' EEPROM. The problem and
solution are explained in detail in the commit message.

Please consider both patches for stable.

Vadim Pasternak (2):
  mlxsw: core: Prevent QSFP module initialization for old hardware
  mlxsw: core: Prevent reading unsupported slave address from SFP EEPROM

 drivers/net/ethernet/mellanox/mlxsw/core.c     |  6 ++++++
 drivers/net/ethernet/mellanox/mlxsw/core.h     |  2 ++
 drivers/net/ethernet/mellanox/mlxsw/core_env.c | 18 ++++++++++++++++--
 .../net/ethernet/mellanox/mlxsw/core_hwmon.c   |  3 +++
 .../net/ethernet/mellanox/mlxsw/core_thermal.c |  6 ++++++
 5 files changed, 33 insertions(+), 2 deletions(-)

-- 
2.20.1

Reply via email to