]> git.baikalelectronics.ru Git - kernel.git/commit
net: sfp: VSOL V2801F / CarlitoxxPro CPGOS03-0490 v2.0 workaround
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 9 Dec 2020 11:22:49 +0000 (11:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2020 03:38:10 +0000 (19:38 -0800)
commit06d40868e943df456089f3cfbfd958b9c1bfe0f4
tree5e9d07eadaa3021d0a4dd3bc5a6ef6678e556628
parentcdd41f969dd7ef7dadff0994bc7b0b0dd565d769
net: sfp: VSOL V2801F / CarlitoxxPro CPGOS03-0490 v2.0 workaround

Add a workaround for the detection of VSOL V2801F / CarlitoxxPro
CPGOS03-0490 v2.0 GPON module which CarlitoxxPro states needs single
byte I2C reads to the EEPROM.

Pali Rohár reports that he also has a CarlitoxxPro-based V2801F module,
which reports a manufacturer of "OEM". This manufacturer can't be
matched as it appears in many different modules, so also match the part
number too.

Reported-by: Thomas Schreiber <tschreibe@gmail.com>
Reported-by: Pali Rohár <pali@kernel.org>
Tested-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c