Re: [PATCH net-next v3 1/2] net: pcs: rzn1-miic: Update port numbering for RZ/T2H
From: Simon Horman
Date: Fri Oct 09 2026 - 10:29:32 EST
On Tue, Oct 06, 2026 at 09:48:11AM -0700, Kyle Hendry via B4 Relay wrote:
> From: Kyle Hendry <khendry@xxxxxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>