Subject: Re: [PATCH net-next] net: stmmac: socfpga: add RMII phy mode

From: Andrew Lunn <[email-masked]>
Date: Wed, 15 May 2019 17:24:07 +0200

> --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
> @@ -251,6 +251,9 @@ static int socfpga_dwmac_set_phy_mode(struct socfpga_dwmac *dwmac)
>  	case PHY_INTERFACE_MODE_SGMII:
>  		val = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_GMII_MII;
>  		break;
> +	case PHY_INTERFACE_MODE_RMII:
> +		val = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_RMII;
> +		break;

What about PHY_INTERFACE_MODE_RMII_ID, PHY_INTERFACE_MODE_RMII_RXID,
PHY_INTERFACE_MODE_RMII_TXID?

	Andrew