]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: sfp: add quirks for Hisense and HSGQ GPON ONT SFP modules
authorJohn Pavlick <jspavlick@posteo.net>
Mon, 6 Apr 2026 13:23:33 +0000 (13:23 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 8 Apr 2026 01:13:51 +0000 (18:13 -0700)
commit95aca8602ef70ffd3d971675751c81826e124f90
tree538aa3c06e123d7b2e95fd5cccf8006c90487e2b
parenta9b8b18364fffce4c451e6f6fd218fa4ab646705
net: sfp: add quirks for Hisense and HSGQ GPON ONT SFP modules

Several GPON ONT SFP sticks based on Realtek RTL960x report
1000BASE-LX at 1300MBd in their EEPROM but can operate at 2500base-X.
On hosts capable of 2500base-X (e.g. Banana Pi R3 / MT7986), the
kernel negotiates only 1G because it trusts the incorrect EEPROM data.

Add quirks for:
- Hisense-Leox LXT-010S-H
- Hisense ZNID-GPON-2311NA
- HSGQ HSGQ-XPON-Stick

Each quirk advertises 2500base-X and ignores TX_FAULT during the
module's ~40s Linux boot time.

Tested on Banana Pi R3 (MT7986) with OpenWrt 25.12.1, confirmed
2.5Gbps link and full throughput with flow offloading.

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Suggested-by: Marcin Nita <marcin.nita@leolabs.pl>
Signed-off-by: John Pavlick <jspavlick@posteo.net>
Link: https://patch.msgid.link/20260406132321.72563-1-jspavlick@posteo.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp.c