net: sfp: ignore LOS also on Hisense GPON modules
Subsystems (4)
PATCH 1/1 net: sfp: ignore LOS also on Hisense GPON modules
Similar to commit 87d126852158467a ("net: sfp: improve Huawei MA5671a fixup"), in order to be able to communicate with the module for configuration even if the fiber is not connected, apply also the sfp_fixup_ignore_los() fixup to the following SFP modules:
Hisense-Leox LXT-010S-H
Hisense ZNID-GPON-2311NA
HSGQ HSGQ-XPON-Stick
Note: tested only on the Hisense-Leox LXT-010S-H module, but applying to all three modules, since they were all added in the same commit 95aca8602ef70ffd ("net: sfp: add quirks for Hisense and HSGQ GPON ONT SFP modules"), which says they are all based on the same chipset Realtek RTL960x.
--- drivers/net/phy/sfp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/phy/sfp.c +3 -3
@@ -594,17 +594,17 @@ static const struct sfp_quirk sfp_quirks[] = {// can operate at 2500base-X, but reports 1000BASE-LX / 1300MBd in its // EEPROM SFP_QUIRK ("Hisense-Leox" ,"LXT-010S-H" , sfp_quirk_2500basex, - sfp_fixup_ignore_tx_fault), + sfp_fixup_ignore_tx_fault_and_los),// Hisense ZNID-GPON-2311NA can operate at 2500base-X, but reports // 1000BASE-LX / 1300MBd in its EEPROM SFP_QUIRK ("Hisense" ,"ZNID-GPON-2311NA" , sfp_quirk_2500basex, - sfp_fixup_ignore_tx_fault), + sfp_fixup_ignore_tx_fault_and_los),// HSGQ HSGQ-XPON-Stick can operate at 2500base-X, but reports // 1000BASE-LX / 1300MBd in its EEPROM SFP_QUIRK ("HSGQ" ,"HSGQ-XPON-Stick" , sfp_quirk_2500basex, - sfp_fixup_ignore_tx_fault), + sfp_fixup_ignore_tx_fault_and_los),// Lantech 8330-262D-E and 8330-265D can operate at 2500base-X, but // incorrectly report 2500MBd NRZ in their EEPROM.
Signature · 1 line
2.55.0
Quoted 9 lines · Marek Behún
Similar to commit
87d126852158467a("net: sfp: improve Huawei MA5671a fixup"), in order to be able to communicate with the module for configuration even if the fiber is not connected, apply also thesfp_fixup_ignore_los()fixup to the following SFP modules:Hisense-Leox LXT-010S-H
Hisense ZNID-GPON-2311NA
HSGQ HSGQ-XPON-Stick
Quoted 7 lines
Note: tested only on the Hisense-Leox LXT-010S-H module, but applying to all three modules, since they were all added in the same commit
95aca8602ef70ffd("net: sfp: add quirks for Hisense and HSGQ GPON ONT SFP modules"), which says they are all based on the same chipset Realtek RTL960x.Signed-off-by Marek Behún <[email protected]>
Andrew
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Thu, 24 Sep 2026 13:50:55 +0200 you wrote:
Similar to commit
87d126852158467a("net: sfp: improve Huawei MA5671a fixup"), in order to be able to communicate with the module for configuration even if the fiber is not connected, apply also thesfp_fixup_ignore_los()fixup to the following SFP modules:Hisense-Leox LXT-010S-H
Hisense ZNID-GPON-2311NA
HSGQ HSGQ-XPON-Stick[...]
Here is the summary with links:
- [net-next] net: sfp: ignore LOS also on Hisense GPON modules
https://git.kernel.org/netdev/net-next/c/0fd5dfa99cfc
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html