Re: [patch net] mlxsw: spectrum: Fix EEPROM access in case of SFP/SFP+

2017-09-11 Thread David Miller
From: Jiri Pirko Date: Mon, 11 Sep 2017 09:42:26 +0200 > From: Arkadi Sharshevsky > > The current code does not handle correctly the access to the upper page > in case of SFP/SFP+ EEPROM. In that case the offset should be local > and the I2C address

Re: [patch net] mlxsw: spectrum: Fix EEPROM access in case of SFP/SFP+

2017-09-11 Thread Jiri Pirko
Mon, Sep 11, 2017 at 03:58:26PM CEST, and...@lunn.ch wrote: >On Mon, Sep 11, 2017 at 09:42:26AM +0200, Jiri Pirko wrote: >> From: Arkadi Sharshevsky >> >> The current code does not handle correctly the access to the upper page >> in case of SFP/SFP+ EEPROM. In that case the

Re: [patch net] mlxsw: spectrum: Fix EEPROM access in case of SFP/SFP+

2017-09-11 Thread Andrew Lunn
On Mon, Sep 11, 2017 at 09:42:26AM +0200, Jiri Pirko wrote: > From: Arkadi Sharshevsky > > The current code does not handle correctly the access to the upper page > in case of SFP/SFP+ EEPROM. In that case the offset should be local > and the I2C address should be changed.

[patch net] mlxsw: spectrum: Fix EEPROM access in case of SFP/SFP+

2017-09-11 Thread Jiri Pirko
From: Arkadi Sharshevsky The current code does not handle correctly the access to the upper page in case of SFP/SFP+ EEPROM. In that case the offset should be local and the I2C address should be changed. Fixes: 2ea109039cd3 ("mlxsw: spectrum: Add support for access cable