]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: sfp: Cotsworks SFF module EEPROM fixup
authorChris Healy <cphealy@gmail.com>
Tue, 14 Jul 2020 17:59:10 +0000 (10:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jul 2020 17:32:59 +0000 (10:32 -0700)
commit1d4d44d79b25ec3fbbb543685a1c7f2ef503384e
treee5bcc42aa282197f88db8bbb0bdb9f34e621ed33
parente0a18a7a074abf43b7c2f7f666cf4ad869b19823
net: phy: sfp: Cotsworks SFF module EEPROM fixup

Some Cotsworks SFF have invalid data in the first few bytes of the
module EEPROM.  This results in these modules not being detected as
valid modules.

Address this by poking the correct EEPROM values into the module
EEPROM when the model/PN match and the existing module EEPROM contents
are not correct.

Signed-off-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c