Re: [PATCH net-next v4 03/15] net: dsa: vsc73xx: use macros for rgmii recognition

From: Linus Walleij
Date: Tue Feb 13 2024 - 18:08:43 EST


On Tue, Feb 13, 2024 at 11:05 PM Pawel Dembicki <paweldembicki@xxxxxxxxx> wrote:

> It's preparation for future use. At this moment, the RGMII port is used
> only for a connection to the MAC interface, but in the future, someone
> could connect a PHY to it. Using the "phy_interface_mode_is_rgmii" macro
> allows for the proper recognition of all RGMII modes.
>
> Suggested-by: Russell King <linux@xxxxxxxxxxxxxxx>
> Signed-off-by: Pawel Dembicki <paweldembicki@xxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij