Re: [PATCH] net: sfp: read eeprom in maximum 16 byte increments

2019-06-03 Thread David Miller
From: Russell King Date: Sun, 02 Jun 2019 15:13:00 +0100 > Some SFP modules do not like reads longer than 16 bytes, so read the > EEPROM in chunks of 16 bytes at a time. This behaviour is not specified > in the SFP MSAs, which specifies: > > "The serial interface uses the 2-wire serial CMOS E2

Re: [PATCH] net: sfp: read eeprom in maximum 16 byte increments

2019-06-03 Thread Andrew Lunn
On Sun, Jun 02, 2019 at 03:13:00PM +0100, Russell King wrote: > Some SFP modules do not like reads longer than 16 bytes, so read the > EEPROM in chunks of 16 bytes at a time. This behaviour is not specified > in the SFP MSAs, which specifies: > > "The serial interface uses the 2-wire serial CMOS

[PATCH] net: sfp: read eeprom in maximum 16 byte increments

2019-06-02 Thread Russell King
Some SFP modules do not like reads longer than 16 bytes, so read the EEPROM in chunks of 16 bytes at a time. This behaviour is not specified in the SFP MSAs, which specifies: "The serial interface uses the 2-wire serial CMOS E2PROM protocol defined for the ATMEL AT24C01A/02/04 family of compon