]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jan 2026 09:32:26 +0000 (10:32 +0100)
commit a92a6c50e35b75a8021265507f3c2a9084df0b94 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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),