Re: [patch net] mlxsw: spectrum: Fix EEPROM access in case of SFP/SFP+
From: Andrew Lunn <andrew@lunn.ch> Date: 2017-09-11 13:58:30
On Mon, Sep 11, 2017 at 09:42:26AM +0200, Jiri Pirko wrote:
From: Arkadi Sharshevsky <redacted>
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.
Shame you cannot/didn't expose the i2c bus as a linux i2c bus. The AT24 code
does not have this bug!
Andrew