Patch "net: sfp: add quirk for Fiberstone GPON-ONU-34-20BI" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    net: sfp: add quirk for Fiberstone GPON-ONU-34-20BI

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     net-sfp-add-quirk-for-fiberstone-gpon-onu-34-20bi.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 23299ec83c40a75d3728ed55a7034fc6578fd4a4
Author: Christian Marangi <ansuelsmth@xxxxxxxxx>
Date:   Tue Sep 19 14:47:20 2023 +0200

    net: sfp: add quirk for Fiberstone GPON-ONU-34-20BI
    
    [ Upstream commit d387e34fec407f881fdf165b5d7ec128ebff362f ]
    
    Fiberstone GPON-ONU-34-20B can operate at 2500base-X, but report 1.2GBd
    NRZ in their EEPROM.
    
    The module also require the ignore tx fault fixup similar to Huawei MA5671A
    as it gets disabled on error messages with serial redirection enabled.
    
    Signed-off-by: Christian Marangi <ansuelsmth@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20230919124720.8210-1-ansuelsmth@xxxxxxxxx
    Signed-off-by: Paolo Abeni <pabeni@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 4ecfac2278651..a50038a452507 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -452,6 +452,11 @@ static const struct sfp_quirk sfp_quirks[] = {
 	// Rollball protocol to talk to the PHY.
 	SFP_QUIRK_F("FS", "SFP-10G-T", sfp_fixup_fs_10gt),
 
+	// Fiberstore GPON-ONU-34-20BI can operate at 2500base-X, but report 1.2GBd
+	// NRZ in their EEPROM
+	SFP_QUIRK("FS", "GPON-ONU-34-20BI", sfp_quirk_2500basex,
+		  sfp_fixup_ignore_tx_fault),
+
 	SFP_QUIRK_F("HALNy", "HL-GSFP", sfp_fixup_halny_gsfp),
 
 	// HG MXPD-483II-F 2.5G supports 2500Base-X, but incorrectly reports



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux