🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19818

Re: [PATCH net-next v8 10/11] r8152: add TGPHY register access for RTL8157 and RTL8159

#19818
From: Andrew Lunn
Date: Fri, 20 Nov 2026 13:21
12 lines
9251 bytes
>  The root cause there is also that
> the MII library does not check the errno, so a future patch could make the MII APIs
> check the mdio_read() return value and propagate the error.

The MII library is deprecated. It is not maintained. It will not be
changed unless it is really broken, and by that i mean it breaks
802.3.

All feature development work should be done on phylink and phylib.

	Andrew
Technical Details
Message-ID: <78ed468c-798c-44b2-9f97-8645af0f1641@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367949-linux-kernel-netdev=dewy.ru
References: <20261110032416.16968-11-nic_swsd@realtek.com> <179464851836.2199510.10154643847175029122@kernel.org> <0c6318e175b14ce8b86a957c7c79d5db@realtek.com> <cafe3b8f-2b65-41d6-b31d-a1cabbf93720@lunn.ch> <2e601d9c-1271-4802-a45c-a16a0d9cfa8d@birger-koblitz.de> <b53ecd5dc96f4890956f051959b74e32@realtek.com> <1543707c-c121-4c35-8849-c4db1a71fb57@lunn.ch> <6a2c635ba56d4deab25a25db9af91c10@realtek.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367949-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v8 10/11] r8152: add TGPHY register access for
 RTL8157 and RTL8159
Date: Fri, 20 Nov 2026 14:21:33 +0100
Organization: Usenet Network
Message-ID: <78ed468c-798c-44b2-9f97-8645af0f1641@lunn.ch>
References: <20261110032416.16968-11-nic_swsd@realtek.com>
 <179464851836.2199510.10154643847175029122@kernel.org>
 <0c6318e175b14ce8b86a957c7c79d5db@realtek.com>
 <cafe3b8f-2b65-41d6-b31d-a1cabbf93720@lunn.ch>
 <2e601d9c-1271-4802-a45c-a16a0d9cfa8d@birger-koblitz.de>
 <b53ecd5dc96f4890956f051959b74e32@realtek.com>
 <1543707c-c121-4c35-8849-c4db1a71fb57@lunn.ch>
 <6a2c635ba56d4deab25a25db9af91c10@realtek.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3167437"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Byf35du7h5xHMvKx5Go+pRtNUfA= sha256:RDET3lqWoGWnbXpNMuXde+Dwfshlc1DWm/eWrEI5Dic=
	sha1:fQMa8dure2a09r54kXr0XDo1w2o= sha256:JfMXPf6dSbQPOrx18+z/QQ/NMQftJgoOXSFDY/1E4vg=
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 A10651159A9; Fri, 20 Nov 2026 16:22:16 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.15
X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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 (1024-bit key)
	header.d=lunn.ch
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 j3pbyXri4ckS;
	Fri, 20 Nov 2026 16:22:13 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-367949-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 6EF4A11598C; Fri, 20 Nov 2026 16:22:04 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 1461C662CA4; Fri, 20 Nov 2026 13:22:04 +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=1795180917;
	b=l8YWKJlmTMhqWJLFuD4eWMu7s+W52PWWEwOdQfh89LJTuCsz8bap//vXeYPR3U+WAgGs
	 gyQWVoxhl3gXYTC/64hv4vWccioZmO89f6040U49mYqVvx6h8et5iFASrGbB9u2b9Kgv7
	 r1GDKESWJNpUncw9Kon7/mJwej3F7vMzFKX5xVSBssSZQdPdoNBEm0pxtqVoCJg60wc5b
	 Wa7a4Ntl9OXexvVso8ILI5SaNhIr7apxxCEK3eJAgLgX6KyOgJkr8QUC9KuWaU4EoOmCs
	 EADIC3K2PNAh9kNkRKviYLMF4BoM1E0Nrmdq2yoUg0ogg+E5KplWRxoOjypC52TMAEw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795180917;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=fFY2JiL4Gjfohkv1qNJ9dcQMzcXH5V6E4XAVqKS4phI=;
	b=FJlaSR0Uh8xx58HSbsja5mQ+ZRCNeGPfqX5JSR7B6T4+QL9bfV5QESlOIRox3w8Xy43T
	 ix1wKGryuTDjFY29bjWeLVmuI8n5ChHZqDXM8TfqkmJyJ0cLq9hrT+0EDUU1ePFDOECMn
	 BwSodi8GOUWgwyCgDkO0us2yV8LoGKjf4cMpl+mRumJzqSqb18PwNLFwkPczCercuf5Bj
	 zCVatYfgXmDDLm7esxfipMWI5PP5wHzDZVJG3W528uXBcyKgFXuJznQiTjEtv7gl1DS3k
	 SjY0NF3pf5O/mfcf4+MCzzqmbF5dDyEqQJIff+gkhWBbT5DQnyHQtvY4cEqe1Cjhjlw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=o2MXrZNW;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	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 8F128606A32A;
	Fri, 20 Nov 2026 13:21:57 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=o2MXrZNW
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795180911;
	b=DrTKE3PjsfQsVRPrsgAbc2QxeA3eCY7AmWEGiaWuhlKMFtyMxox9cFM6GV4A3UexGFva
	 fizX7kKnV1BS/hG6SpFdgpBb0fKfPuJtiq1OcletiPhFIZ+tThpnmkvfbcZz2JZsb9ppC
	 Ppwa0zOPVNs637XNqaYktSoaM1nTH2S+0D9kR2XtRsFGNiYq0mcHvAKj24OHHSOknL0o7
	 5Q06tPx5ZaPnFJ96N66HSU7WjpANC1BSVoqy+M9btzzTi3o/wWgfkx/5ctEYK5OJpFNDY
	 jjG3qDs4Ha8adHsVi37cgaC25uP+N2Llu5TIXUmWKV1zN8F93zfWwnOVTzDHbj+bOHw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795180911;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=fFY2JiL4Gjfohkv1qNJ9dcQMzcXH5V6E4XAVqKS4phI=;
	b=pWMjGj8v/ju5ZWGRWPpbboEf3dBWfL2Jkr3ZPMb9XMLwxUbJG7RqfVksdP9r2v+btHMx
	 ildENE+2/a2c6gYES6VQD24DX6JMwiG8RhepQEIAU9osjsqX+YYNlZBmXadH/ELPqvDDX
	 KjTszx81/gztyqDHb5ADARJ0GfF2RSC7+RFzL6doOCHwMWfQrEmNJxyf6AmKmQaq8xQqQ
	 rca9V6AolxoRuuVmUr4BL1OvQwyTEn2Rz5PstOMl9w3ehrVjJowBmRpfTJbONvSXFjab0
	 ++5vTGx5hbyZec/jg66wGNoCC0t/yAW8xYT5PyyN9E/nbwsWWcZSgp90uGzvenJtTIw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=o2MXrZNW;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(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 6E807606A338;
	Fri, 20 Nov 2026 13:21:51 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6E807606A338
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=fFY2JiL4Gjfohkv1qNJ9dcQMzcXH5V6E4XAVqKS4phI=; b=o2MXrZNWZdpZsN9juj+n09p61O
	nRr1FtIW8/cbyrSAtJN2SYPNU24A+nN3PuIpM4RuWn1BxE7y+ERsHTCUjfY+yLoyg9k5Ift74QMQe
	bCQeMud7Uf6VAVPDWg0ALMrFIb3HMw/OLNazNIcS8fqKD9YsHAE3S+nuCWfzF7Vd5Rn4=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xUOYX-000ITq-EW; Fri, 20 Nov 2026 14:21:33 +0100
X-Cc: Birger Koblitz <mail@birger-koblitz.de>,
	"netdev-bot+sashiko@kernel.org" <netdev-bot+sashiko@kernel.org>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	nic_swsd <nic_swsd@realtek.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"edumazet@google.com" <edumazet@google.com>,
	"bjorn@mork.no" <bjorn@mork.no>,
	"pabeni@redhat.com" <pabeni@redhat.com>,
	"andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>
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-In-Reply-To: <6a2c635ba56d4deab25a25db9af91c10@realtek.com>