🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1312

Re: [PATCH net-next v3 1/2] net: pcs: rzn1-miic: Update port numbering for RZ/T2H

#1312
From: Simon Horman
Date: Fri, 09 Oct 2026 14:22
13 lines
6378 bytes
On Tue, Oct 06, 2026 at 09:48:11AM -0700, Kyle Hendry via B4 Relay wrote:
> From: Kyle Hendry <khendry@reliablecontrols.com>
> 
> The port numbers on the RZ/T2H are documented as 0 to 3. Update the info
> structure and change the member name to miic_port_last to be more accurate.
> 
> This value was being used as the number of miic registers when setting
> default values. Add logic to get the total port count and loop over that.
> 
> Signed-off-by: Kyle Hendry <khendry@reliablecontrols.com>

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261009142233.GD83879@horms.kernel.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-343742-linux-kernel-netdev=dewy.ru
References: <20261006-miic-validate-dtb-v3-v3-0-68617b3dca5c@reliablecontrols.com> <20261006-miic-validate-dtb-v3-v3-1-68617b3dca5c@reliablecontrols.com>

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-343742-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v3 1/2] net: pcs: rzn1-miic: Update port
 numbering for RZ/T2H
Date: Fri, 9 Oct 2026 15:22:33 +0100
Organization: Usenet Network
Message-ID: <20261009142233.GD83879@horms.kernel.org>
References: <20261006-miic-validate-dtb-v3-v3-0-68617b3dca5c@reliablecontrols.com>
 <20261006-miic-validate-dtb-v3-v3-1-68617b3dca5c@reliablecontrols.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1124003"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:EcLJogle0xcAy89zD+LgShLC14g= sha256:4Ek7a8Xn13xQsuArIACqrWueIQUIvEPpZ6oyuDXJ6s8=
	sha1:JZoKPME/8j7OXRhhgqhz4Ai4M3c= sha256:7Pg4viex/akNCEoaMokrgPKDyA3n7t6Tsa5XxqShVYQ=
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 F1A9110F6F7; Fri,  9 Oct 2026 17:29:30 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.741
X-Spam-Status: No, score=-3.741 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 D8jH8ugvuRhz;
	Fri,  9 Oct 2026 17:29:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-343742-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 0BEE610F6EC; Fri,  9 Oct 2026 17:29:22 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sto.lore.kernel.org (Postfix) with ESMTP id 9144460C970; Fri,  9 Oct 2026 14:23:34 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id A49084E36DB;
	Fri,  9 Oct 2026 14:22:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kC5xPhha"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 73DA42D592D;
	Fri,  9 Oct 2026 14:22:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791555759; cv=none; b=BQoZ+zWcC/e3FUfB0R5bAnX0mUvMDT2aV932Jyg1f9e2CSvZiq4iah8l0QpigUZMnMw1owSWGjpQN9ypfHBeNFKKMrRVX/OFEkVJcwA8Uk+A50eEuUlPsS5DbmKlB0BKXgM6QoBGRq+GCChz6leXGRsUMfI+yQZEAxBx6Mv04lg=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791555759; c=relaxed/simple;
	bh=exHWLYXzTM9mtKFd836x2uxs9t7AR1nHynd6k/ACquo=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=DRH3dfs1RTVsdmxsHtYroWhChFpidmcKI9/S5FSLIIuT443T3d9IgMzsRXChVyF0gL2LGsSK+NK4X7vdFHGHAMj1c47R8Jmw9PLCN0P2WM6Fp+3aJNhWj2jEEMeWqU5BlUF9/Nt+YSGr03PtKUcVkeQq89bwFSWGUDW0uGAFMwE=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kC5xPhha; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF7E21F000FF;
	Fri,  9 Oct 2026 14:22:35 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791555758;
	bh=akDjDkPdZ0AvHVYfxU8nsaUfV+VZNeoojr+Xd8f2sYs=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=kC5xPhhaj1OTL5O02pSXnFbEPOuDTp6eWShL6/0dP6yfCEitz4zgsi1aeMlb0kTMP
	 SS28+vfsPxEOPQjslZxFzB39S/fHzz5IOtvQceYpkuKzDMx7ZeyaqBob+jgso+OSAg
	 pb5Dp+4URs7GrHZjoc2s0C9O+Nzn/qBfCc5jAIwEZ0dybZqJ++Rvm2wThwWrnkjGMJ
	 kJg2FbwVrVfYiqdHi/vWfbpNTNoYjE81eYUFE8aE5tXKQNgLCZ6aGKU8lGx8bqe56e
	 4iqQLpj/6gm2Sl0ThLdcduOBwNCLzjBoLaddrmq++D4LRCX/gYblL72BPvWHlqS8Jt
	 srSiNK4DTc7rQ==
X-Cc: Clément Léger <clement.leger@bootlin.com>,
	Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>,
	linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
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>
X-In-Reply-To: <20261006-miic-validate-dtb-v3-v3-1-68617b3dca5c@reliablecontrols.com>