Re: [PATCH] net: ibm: emac: support RGMII-[RX|TX]ID phymode

2017-12-18 Thread Andrew Lunn
> @@ -201,6 +201,9 @@ static inline int emac_phy_supports_gige(int phy_mode) > { > return phy_mode == PHY_MODE_GMII || > phy_mode == PHY_MODE_RGMII || > + phy_mode == PHY_MODE_RGMII_ID || > + phy_mode == PHY_MODE_RGMII_RXID || > + phy_mode =

[PATCH] net: ibm: emac: support RGMII-[RX|TX]ID phymode

2017-12-17 Thread Christian Lamparter
The RGMII spec allows compliance for devices that implement an internal delay on TXC and/or RXC inside the transmitter. This patch adds the necessary RGMII_[RX|TX]ID mode code to handle such PHYs with the emac driver. Signed-off-by: Christian Lamparter --- drivers/net/ethernet/ibm/emac/core.c |