[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190515152407.GA24455@lunn.ch>
Date: Wed, 15 May 2019 17:24:07 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Dinh Nguyen <dinguyen@...nel.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, joabreu@...opsys.com,
Wei Liang Lim <wei.liang.lim@...el.com>
Subject: Re: [PATCH net-next] net: stmmac: socfpga: add RMII phy mode
> --- 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
Powered by blists - more mailing lists