Article View: linux.kernel.netdev
Article #1824[PATCH net-next] net: sfp: add quirk for TP-LINK SM410U
From: Daniel Golle
Date: Sun, 11 Oct 2026 00:51
Date: Sun, 11 Oct 2026 00:51
25 lines
5273 bytes
5273 bytes
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(+)
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 2b5528ae930d1..a2aaffeb2063d 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -652,6 +652,7 @@ static const struct sfp_quirk sfp_quirks[] = {
SFP_QUIRK_F("XikeStor", "SKT-2.5G-100M", sfp_fixup_xikestor_2_5g),
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)
--
2.56.0
Technical Details
Message-ID:
<172a4fed74d35b1be51f4e8aba2222aa33845b08.1791679663.git.daniel@makrotopia.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344361-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344361-linux-kernel-netdev=dewy.ru From: daniel@makrotopia.org (Daniel Golle) Newsgroups: linux.kernel.netdev Subject: [PATCH net-next] net: sfp: add quirk for TP-LINK SM410U Date: Sun, 11 Oct 2026 01:51:14 +0100 Organization: Usenet Network Message-ID: <172a4fed74d35b1be51f4e8aba2222aa33845b08.1791679663.git.daniel@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="1442120"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:MU/7F0VuC1Ei0WKQ3DUEHd9V8rg= sha256:YsoNBVXKOObquumKeAvNjwcOPVTbptOW+/lHSAEVrdI= sha1:Uv0TE5HG0wu4ffpLbX0rs2YQtyk= sha256:vK/JUkCTmDtqk6GqAgd+KFPXCUVu+GI23ahra8hNWlY= Content-Disposition: inline List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id AF8DD10F970; Sun, 11 Oct 2026 03:52:03 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -0.651 X-Spam-Status: No, score=-0.651 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KQn-XouY76kH; Sun, 11 Oct 2026 03:52:00 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-344361-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=makrotopia.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id E708510F96F; Sun, 11 Oct 2026 03:51:53 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 8C79A27653; Sun, 11 Oct 2026 00:51:32 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB7E92701D9; Sun, 11 Oct 2026 00:51:31 +0000 (UTC) X-Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23DE51B87C9; Sun, 11 Oct 2026 00:51:29 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791679891; cv=none; b=eBAggIL/6ZEWiAfhZJ9trVSylfcC2Td9zfSK0cwRAGAoLXk7gQA35DEfFa2m6Dj5jU4/cETovsP5LNIaoBqlwNPac6CYaGQaMt57N6kY8clWihPGc/rpFWP1x2+aTD0VSW7fOQtvZ80+08KyfOPjXqSrbAWMbiJ+PbBTKtouT10= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791679891; c=relaxed/simple; bh=DcxkDcnvlybE5aprTjKgL+Sw0SO1onWzZZMQyEUG5Ok=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=fCTJdzSeHIfmE5c0sAc2LFrqhapOttvE3NV2nct1OEiIb/buxGeLqZDmDb1XlXZ4QGuxACgwGeYQoBRyDc2UOlglyy9DBN9au21jqAQpuVcP1jQ+D5RkLPrAe789njpJRVbgoq05hOLo19WIYL+5zPOcZ9AylWyriSekC1VWd2Y= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org X-Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256:X25519MLKEM768) (Exim 4.100.1) (envelope-from <daniel@makrotopia.org>) id 1xFhmX-000000005u9-2N0t; Sun, 11 Oct 2026 00:51:17 +0000 X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>