Patch "net: sfp: add quirk enabling 2500Base-x for HG MXPD-483II" has been added to the 6.2-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 enabling 2500Base-x for HG MXPD-483II

to the 6.2-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-enabling-2500base-x-for-hg-mxpd-48.patch
and it can be found in the queue-6.2 subdirectory.

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



commit 4beaa7c83b2a3ca748dbfbed914ecd7725d3ac8b
Author: Daniel Golle <daniel@xxxxxxxxxxxxxx>
Date:   Sun Apr 2 12:44:37 2023 +0100

    net: sfp: add quirk enabling 2500Base-x for HG MXPD-483II
    
    [ Upstream commit ad651d68cee75e9ac20002254c4e5d09ee67a84b ]
    
    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@xxxxxxxxx>
    Tested-by: chowtom <chowtom@xxxxxxxxx>
    Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
    Reviewed-by: Russell King (Oracle) <rmk+kernel@xxxxxxxxxxxxxxx>
    Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index b224800d7db0b..10e66c89ca0fe 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -395,6 +395,10 @@ static const struct sfp_quirk sfp_quirks[] = {
 
 	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
 	// their EEPROM
 	SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex,



[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