mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 12:40:16 +04:00
a73e378bea
Refresh the patches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
25 lines
893 B
Diff
25 lines
893 B
Diff
From 163d7cf204f72c056fb7c9e0d79f5dfa8efbb5f0 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Golle <daniel@makrotopia.org>
|
|
Date: Tue, 21 Apr 2026 01:27:19 +0100
|
|
Subject: [PATCH] net: sfp: add quirk for TP-LINK SM410U
|
|
|
|
The TP-LINK SM410U is a 2.5G copper module which is based on RealTek
|
|
RTL8221B, but doesn't seem to offer any way to access the PHY over I2C.
|
|
Add a quirk to disable in-band which isn't supported by the PHY.
|
|
|
|
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
---
|
|
drivers/net/phy/sfp.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/net/phy/sfp.c
|
|
+++ b/drivers/net/phy/sfp.c
|
|
@@ -591,6 +591,7 @@ static const struct sfp_quirk sfp_quirks
|
|
SFP_QUIRK_F("Turris", "RTSFP-10G", sfp_fixup_rollball),
|
|
|
|
SFP_QUIRK_S("ZOERAX", "SFP-2.5G-T", sfp_quirk_oem_2_5g),
|
|
+ SFP_QUIRK_S("TP-LINK", "TL-SM410U", sfp_quirk_oem_2_5g),
|
|
};
|
|
|
|
static size_t sfp_strlen(const char *str, size_t maxlen)
|