Re: [PATCH net] net: macb: use phy_interface_mode_is_rgmii everywhere

From: David Miller
Date: Fri Jul 17 2020 - 21:32:57 EST


From: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
Date: Sat, 18 Jul 2020 01:32:21 +0200

> There is one RGMII check not using the phy_interface_mode_is_rgmii()
> helper. This prevents the driver from configuring the MAC properly when
> using a phy-mode that is not just rgmii, e.g. rgmii-rxid. This became an
> issue on sama5d3 xplained since the ksz9031 driver is hadling phy-mode
> properly and the phy-mode has to be set to rgmii-rxid.
>
> Fixes: bcf3440c6dd78bfe ("net: phy: micrel: add phy-mode support for the KSZ9031 PHY")
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>

Applied, thank you.