🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6883

[RFC net-next] net: sfp: add quirk for OEM SFP-2.5G-T-C

#6883
From: David Mestre
Date: Fri, 23 Oct 2026 17:49
31 lines
10376 bytes
The OEM SFP-2.5G-T-C module needs the same fixed 2500BASE-X host link
as the existing OEM SFP-2.5G-T entry. On a ZBT Z8803BE (MT7988),
the module has no carrier with in-band autonegotiation enabled.
Forcing 2500 Mbit/s, full duplex and autonegotiation off restores
the link.

The existing OEM SFP-2.5G-T entry requires an exact part-name match,
so it does not match the -C variant. Reuse its quirk for the exact
additional part name.

Signed-off-by: David Mestre <dev@davidmestre.net>
---
  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 85e57a1..ef87687 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -631,6 +631,7 @@ static const struct sfp_quirk sfp_quirks[] = {
  
  	SFP_QUIRK_F("OEM", "SFP-10G-T", sfp_fixup_rollball_cc),
  	SFP_QUIRK_S("OEM", "SFP-2.5G-T", sfp_quirk_oem_2_5g),
+	SFP_QUIRK_S("OEM", "SFP-2.5G-T-C", sfp_quirk_oem_2_5g),
  	SFP_QUIRK_S("OEM", "SFP-2.5G-BX10-D", sfp_quirk_2500basex),
  	SFP_QUIRK_S("OEM", "SFP-2.5G-BX10-U", sfp_quirk_2500basex),
  	SFP_QUIRK_S("OEM", "SFP-2.5G-LH03-B", sfp_quirk_2500basex),
base-commit: 734bef548a96e8774d6eef5dfa2026c6edc4e80b
-- 
2.56.0.windows.1
Technical Details
Message-ID: <e0137c6e-7ecb-4b45-8108-70058f9906e1@davidmestre.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351167-linux-kernel-netdev=dewy.ru

Show 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-351167-linux-kernel-netdev=dewy.ru
From: dev@davidmestre.net (David Mestre)
Newsgroups: linux.kernel.netdev
Subject: [RFC net-next] net: sfp: add quirk for OEM SFP-2.5G-T-C
Date: Fri, 23 Oct 2026 19:49:29 +0200
Organization: Usenet Network
Message-ID: <e0137c6e-7ecb-4b45-8108-70058f9906e1@davidmestre.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="571321"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:RPlgWM2v4E6Ul2vqq/FkOX+7p+0= sha256:2XP0Zx5Wgi2h5w1HCkR7gE9Wwf7ROHrCu5MNos4Lo/A=
	sha1:KUfyBPJaSzvuBiMP2AhUaQHesdY= sha256:dTjTyeYajsKD1Ybu3YGOr7hFuATI3pi3OAbJbJ7XKdw=
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 2BA15111537; Fri, 23 Oct 2026 20:52:27 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.05
X-Spam-Status: No, score=-2.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, FROM_FMBLA_NEWDOM14=0.999,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=davidmestre.net
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 TjPiy54kPAN0;
	Fri, 23 Oct 2026 20:52:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-351167-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=davidmestre.net
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id DF60811152F; Fri, 23 Oct 2026 20:52:15 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 048DB2ED4D; Fri, 23 Oct 2026 17:49:52 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792777790;
	b=ReqxslCaqxHiAbmTBXQqtNE4zsFrMFab4fZo/W6kdWGhApc7THgQCo0ZB1TWb6c9O/PF
	 W+8IdgvVbv5WBtSWu7vitADSqUx2iukTtxo/Hrbxl7nH370+BmhxDbV+NR+jxMrcgJZ1a
	 IbQkMgA41dxE0d2wGAEGjubODQTV91EkmdzyOn3uFvEkd/c5bAbg86UTdN4edr9hluDVj
	 kIjhs0hI9XBo9zqXjkMTN0rvCVC1lgFe6kO4tss9oU2iAkuXZ72dbKYHyti9VcGgg5rtw
	 YrpLsxefTGuPr5QCkFKJwknkbLFYmp5yCy8bekyA74gWkzJzEsXgFkL6xL+qKgp+DVw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792777790;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
	 Message-ID:Date:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 User-Agent:To:Cc:From:Subject:Content-Type:Content-Transfer-Encoding:
	 X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:
	 X-Get-Message-Sender-Via:X-Authenticated-Sender;
	bh=piawIPJSSl/F907OEGJSt7FanPvuAFriXN0VKuHIOSI=;
	b=gjxX1H/Uye6fM88asXd3uEZxgrsewVLgPTuYcgY/Cg+5nfyjToFwq26z9S48O4VF89hn
	 n4kaE+9A8N4CZJP0z8qKdQhU4m3KfyQLd8J1pZADmKHu3CDN4AwCZBUe9EQhdnI9fANwv
	 0mQH1lLlzFBlcN/hK4OxzH17TzLHUhrMgXU/sHsFCTJ5aCic7elb15rN54WrdCv5WKmQ2
	 LTp11DDjWq6VnUjIZD+Lp3IERlWJs3aHW8iBa210x6eS+kp+hGMX2ac6i72mgPD0NGWeG
	 fR95Zmawc5MgGe6heRqU0rsH+vthFsoHWBJGGzHuGrGnFzUpF9whzCE/A5/CLdS2IDA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=davidmestre.net header.i=@davidmestre.net header.a=rsa-sha256 header.s=default header.b=qSQdTNgm;
	dmarc=none header.from=davidmestre.net;
	spf=pass smtp.mailfrom=davidmestre.net;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id F3F58606A320;
	Fri, 23 Oct 2026 17:49:49 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=davidmestre.net header.i=@davidmestre.net header.a=rsa-sha256 header.s=default header.b=qSQdTNgm
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.126.200.66
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792777784;
	b=feY6iFB0eCzK0R0ei9z5NkciG5hkFbwpNGRTs3ufNclBA1Ws1R0yhHlOVVHVAdfPWLpS
	 2f4zzcgaGiyA1zAcnF7zc/Ag9zVxPxd2x1WE6f2QT3HpFk80M3xfP7YenzR5JW4JdB0q1
	 kvRa7/M2OKQZOmF2o4nS/dtL+eoi8Z6CBSwmmkNSV18P/db7uEbYXo2L/YoNU2y4Inu2D
	 cpZ1up76/ct02VzaGSc3/9qpOuybF5RlHIyD/Qpznnh29+iNO+LsYqrzctIut0A8rZDq9
	 M5Q0YjnCpILiunI6o+iikJl7OB+wM5Nz8AzaHs1jLy6rY8h9akHyum2rs8GH20aMG6g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792777784;
	h=DMARC-Filter:Received:DKIM-Signature:Received:Message-ID:Date:
	 MIME-Version:User-Agent:To:Cc:From:Subject:Content-Type:
	 Content-Transfer-Encoding:X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:
	 X-AntiAbuse:X-AntiAbuse:X-Get-Message-Sender-Via:
	 X-Authenticated-Sender;
	bh=piawIPJSSl/F907OEGJSt7FanPvuAFriXN0VKuHIOSI=;
	b=hhNc0lCscypChSgx0A2ZBXuavQgtyKrXzpwcly79Sn/l2TpkytprolWoTaRFKhkcjPD0
	 k62pkYqxQ+uvO5vgG/WJV6T2no2Lw70M29VN4whjraHGkR71x6UIGgAx3qQUXvtWxJn0l
	 TjIzH3K624eol2ReBDs2hJ5ydolO0luW5knLkOiaftGSHmOYlazcVoNqGWtIovkkqxsEm
	 7JCAGixjZUeZMSKh+a31zINz7Zpn9wneUf1esGgPCUSCQtkEmqTNyOXFejmV2Bw+XFgUW
	 SOaxLyw4HQEYfF66hc0jBrIjmhMMmVAFnjRO1T3DDSuEPp5TE+CARfyBXAIrNcLxTNA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=davidmestre.net;
	spf=pass smtp.mailfrom=davidmestre.net;
	dkim=pass header.d=davidmestre.net header.i=@davidmestre.net header.a=rsa-sha256 header.s=default header.b=qSQdTNgm;
	arc=none smtp.remote-ip=194.126.200.66
X-Received: from mail-gateway-shared13.cyon.net (mail-gateway-shared13.cyon.net [194.126.200.66])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id E227B606A32A
	for <netdev@vger.kernel.org>; Fri, 23 Oct 2026 17:49:42 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E227B606A32A
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=davidmestre.net
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=davidmestre.net
X-Received: from s143.cyon.net ([149.126.4.152])
	by mail-gateway-shared13.cyon.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim)
	(envelope-from <dev@davidmestre.net>)
	id 1xKJOX-00CsvH-2C
	for netdev@vger.kernel.org;
	Fri, 23 Oct 2026 19:49:35 +0200
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=davidmestre.net; s=default; h=Content-Transfer-Encoding:Content-Type:
	Subject:From:Cc:To:MIME-Version:Date:Message-ID:Sender:Reply-To:Content-ID:
	Content-Description; bh=piawIPJSSl/F907OEGJSt7FanPvuAFriXN0VKuHIOSI=; b=qSQdT
	NgmRxXQKzwqGWdA1AdSk8I7n0neuU+TaMLXdOCrjtxyDJ9g7V9LOpIqSH6tI3vUrorZNWXKFgf1+/
	EuJIi3mjMRJsD138YqHPkUookEFr0FYHK9AFhK6ZLpDRMApdSbrVNzWB8chb7OcJ2xBfGQFq4WaDP
	UI6RKHeKCFghpQYGd84Jll5w7kj7DizGpNwldoy5hLPJOMakx/z7R69E2TEwIuxK0eT+dsxXHiYiG
	pLdfeLOJiYbujZKNbc1VPo5g6jflmCPJtZFC6dWn0omlMzLVLrrt4mkvbGykmNAxV1NgyPuzkyO5a
	P/dAAEJZHjAwKGI4auhCkzNdcVy5w==;
X-Received: from [10.20.10.54] (port=45134 helo=mail.cyon.ch)
	by s143.cyon.net with esmtpa (Exim 4.100.1)
	(envelope-from <dev@davidmestre.net>)
	id 1xKJOU-00000000GFy-1M7h;
	Fri, 23 Oct 2026 19:49:28 +0200
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-User-Agent: Mozilla Thunderbird
X-Cc: linux@armlinux.org.uk
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - s143.cyon.net
X-AntiAbuse: Original Domain - vger.kernel.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - davidmestre.net
X-Get-Message-Sender-Via: s143.cyon.net: authenticated_id: dev@davidmestre.net
X-Authenticated-Sender: s143.cyon.net: dev@davidmestre.net