mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
net: sfp: add quirk enabling 2500Base-x for HG MXPD-483II
[ Upstream commit ad651d68ce ]
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 <chowtom@gmail.com>
Tested-by: chowtom <chowtom@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
388764ea64
commit
7e26bfb49d
@@ -395,6 +395,10 @@ static const struct sfp_quirk sfp_quirks[] = {
|
|||||||
|
|
||||||
SFP_QUIRK_F("HALNy", "HL-GSFP", sfp_fixup_halny_gsfp),
|
SFP_QUIRK_F("HALNy", "HL-GSFP", sfp_fixup_halny_gsfp),
|
||||||
|
|
||||||
|
// HG MXPD-483II-F 2.5G supports 2500Base-X, but incorrectly reports
|
||||||
|
// 2600MBd in their EERPOM
|
||||||
|
SFP_QUIRK_M("HG GENUINE", "MXPD-483II", sfp_quirk_2500basex),
|
||||||
|
|
||||||
// Huawei MA5671A can operate at 2500base-X, but report 1.2GBd NRZ in
|
// Huawei MA5671A can operate at 2500base-X, but report 1.2GBd NRZ in
|
||||||
// their EEPROM
|
// their EEPROM
|
||||||
SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex,
|
SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex,
|
||||||
|
|||||||
Reference in New Issue
Block a user