OSDN Git Service

Merge branch 'net-phy-at803x-Update-delays-for-RGMII-modes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 23:30:03 +0000 (15:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 23:30:03 +0000 (15:30 -0800)
commite59d790959b48a42874fa2cb16475a621663f085
tree65cea3fcbc0e15e87ae9d17873567ae3560c2982
parent14215108a1fd7e002c0a1f9faf8fbaf41fdda50d
parent6d4cd041f0af5b4c8fc742b4a68eac22e420e28c
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 <davem@davemloft.net>