Skip to content

Commit ad651d6

Browse files
dangowrtdavem330
authored andcommitted
net: sfp: add quirk enabling 2500Base-x for HG MXPD-483II
The HG MXPD-483II 1310nm SFP module is meant to operate with 2500Base-X, however, in their EEPROM they incorrectly specify: Transceiver type : Ethernet: 1000BASE-LX ... BR, Nominal : 2600MBd Use sfp_quirk_2500basex for this module to allow 2500Base-X mode anyway. https://forum.banana-pi.org/t/bpi-r3-sfp-module-compatibility/14573/60 Reported-by: chowtom <[email protected]> Tested-by: chowtom <[email protected]> Signed-off-by: Daniel Golle <[email protected]> Reviewed-by: Russell King (Oracle) <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2584024 commit ad651d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/net/phy/sfp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,10 @@ static const struct sfp_quirk sfp_quirks[] = {
387387

388388
SFP_QUIRK_F("HALNy", "HL-GSFP", sfp_fixup_halny_gsfp),
389389

390+
// HG MXPD-483II-F 2.5G supports 2500Base-X, but incorrectly reports
391+
// 2600MBd in their EERPOM
392+
SFP_QUIRK_M("HG GENUINE", "MXPD-483II", sfp_quirk_2500basex),
393+
390394
// Huawei MA5671A can operate at 2500base-X, but report 1.2GBd NRZ in
391395
// their EEPROM
392396
SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex,

0 commit comments

Comments
 (0)