mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
3887a55909
Removed upstreamed: backport-5.15/430-v6.3-ubi-Fix-failure-attaching-when-vid_hdr-offset-equals.patch[1] backport-5.15/612-v6.3-skbuff-Fix-a-race-between-coalescing-and-releasing-S.patch[2] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.108&id=85d7a7044b759d865d10395a357632af00de5867 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.108&id=906a6689bb0191ad2a44131a3377006aa098af59 Build system: x86_64 Build-tested: bcm2711/RPi4B, ramips/tplink_archer-a6-v3, filogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: bcm2711/RPi4B, ramips/tplink_archer-a6-v3, filogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From ad651d68cee75e9ac20002254c4e5d09ee67a84b Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
|
Date: Sun, 2 Apr 2023 12:44:37 +0100
|
|
Subject: [PATCH] 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 <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>
|
|
---
|
|
drivers/net/phy/sfp.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
--- a/drivers/net/phy/sfp.c
|
|
+++ b/drivers/net/phy/sfp.c
|
|
@@ -372,6 +372,10 @@ static const struct sfp_quirk sfp_quirks
|
|
.part = "HL-GSFP",
|
|
.fixup = sfp_fixup_halny_gsfp,
|
|
}, {
|
|
+ .vendor = "HG GENUINE",
|
|
+ .part = "MXPD-483II",
|
|
+ .modes = sfp_quirk_2500basex,
|
|
+ }, {
|
|
// Huawei MA5671A can operate at 2500base-X, but report 1.2GBd
|
|
// NRZ in their EEPROM
|
|
.vendor = "HUAWEI",
|