Re: [PATCH net-next] net: dsa: mxl862xx: rename MDIO op arguments

From: Andrew Lunn

Date: Tue Mar 03 2026 - 08:51:58 EST


On Tue, Mar 03, 2026 at 03:17:43AM +0000, Daniel Golle wrote:
> The use of the 'port' argument name for functions implementing the MDIO
> bus operations is misleading as the port address isn't equal to the
> PHY address.
>
> Rename the MDIO operation argument name to match the prototypes of
> mdiobus_write, mdiobus_read, mdiobus_c45_read and mdiobus_c45_write.
>
> Suggested-by: Vladimir Oltean <olteanv@xxxxxxxxx>
> Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew