Merge branch 'mlxsw-Two-port-module-fixes'

Ido Schimmel says:

mlxsw: Two port module fixes

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.

Signed-off-by: David S. Miller <>