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

From: Florian Fainelli
Date: Tue Feb 13 2024 - 18:13:13 EST


On 2/13/24 14:03, Pawel Dembicki 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: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian