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)
commit0d035bed2a4a6c4878518749348be61bf082d12a
tree5e9d07eadaa3021d0a4dd3bc5a6ef6678e556628
parent6b21c0bb3a323c796a620db317db64ea4d787be3
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