From: David S. Miller Date: Fri, 22 Feb 2019 23:30:03 +0000 (-0800) Subject: Merge branch 'net-phy-at803x-Update-delays-for-RGMII-modes' X-Git-Tag: v5.1-rc1~178^2~129 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=e59d790959b48a42874fa2cb16475a621663f085;p=linux.git Merge branch 'net-phy-at803x-Update-delays-for-RGMII-modes' Vinod Koul says: ==================== net: phy: at803x: Update delays for RGMII modes Peter[1] reported that patch cd28d1d6e52e: ("net: phy: at803x: Disable phy delay for RGMII mode") caused regression on am335x-evmsk board. This board expects the Phy delay to be enabled but specified RGMII mode which refers to delays being disabled. So fix this by disabling delay only for RGMII mode and enable for RGMII_ID and RGMII_TXID/RXID modes. While at it, as pointed by Dave, don't inline the helpers. [1]: https://www.spinics.net/lists/netdev/msg550749.html Changes in v4: - fix log & comments nbased on Marc's feedback ==================== Signed-off-by: David S. Miller --- e59d790959b48a42874fa2cb16475a621663f085