[PATCH net-next 08/10] net: stmmac: sun8i: convert to use phy_interface

Chen-Yu Tsai wens at csie.org
Wed Sep 17 08:25:09 PDT 2025


On Wed, Sep 17, 2025 at 11:13 PM Russell King (Oracle)
<rmk+kernel at armlinux.org.uk> wrote:
>
> dwmac-sun8i supports MII, RMII and RGMII interface modes only. It
> is unclear whether the dwmac core interface is different from the
> one presented to the outside world.
>
> However, as none of the DTS files set "mac-mode", mac_interface will
> be identical to phy_interface.
>
> Convert dwmac-sun8i to use phy_interface when determining the
> interface mode rather than mac_interface.
>
> Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>

Acked-by: Chen-Yu Tsai <wens at csie.org>



More information about the linux-riscv mailing list