]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: sfp: add potron quirk to the H-COM SPP425H-GAB4 SFP+ Stick
authorHamza Mahfooz <someguy@effective-light.com>
Tue, 13 Jan 2026 23:29:57 +0000 (18:29 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sun, 18 Jan 2026 00:45:40 +0000 (16:45 -0800)
This is another one of those XGSPON ONU sticks that's using the
X-ONU-SFPP internally, thus it also requires the potron quirk to avoid tx
faults. So, add an entry for it in sfp_quirks[].

Cc: stable@vger.kernel.org
Signed-off-by: Hamza Mahfooz <someguy@effective-light.com>
Link: https://patch.msgid.link/20260113232957.609642-1-someguy@effective-light.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp.c

index 84bef5099dda6f49d22c5c69fc6d94f9d6fa61a5..47f095bd91ceabcdf4532ffe0a07d2b3fae78127 100644 (file)
@@ -519,6 +519,8 @@ static const struct sfp_quirk sfp_quirks[] = {
 
        SFP_QUIRK_F("HALNy", "HL-GSFP", sfp_fixup_halny_gsfp),
 
+       SFP_QUIRK_F("H-COM", "SPP425H-GAB4", sfp_fixup_potron),
+
        // HG MXPD-483II-F 2.5G supports 2500Base-X, but incorrectly reports
        // 2600MBd in their EERPOM
        SFP_QUIRK_S("HG GENUINE", "MXPD-483II", sfp_quirk_2500basex),