]> git.ipfire.org Git - people/ms/u-boot.git/commit
net: phy: realtek: fix enabling of the TX-delay for RTL8211F
authorMadalin Bucur <madalin.bucur@nxp.com>
Fri, 18 Aug 2017 08:35:24 +0000 (11:35 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 7 Sep 2017 18:23:52 +0000 (13:23 -0500)
commit05b29aa0cb6875e1d91eec5ba1949e8d0c1f2618
tree3dce5cb3d851091bb844a6958ca9452f3a7462f4
parent84a42069f253554dbc2c7b4bbd28149a7a88c0ab
net: phy: realtek: fix enabling of the TX-delay for RTL8211F

The old logic always enabled the TX-delay when the phy-mode was set to
PHY_INTERFACE_MODE_RGMII. With this patch we enable the TX delay for
PHY_INTERFACE_MODE_RGMII_ID and PHY_INTERFACE_MODE_RGMII_TXID and
disable it for PHY_INTERFACE_MODE_RGMII.

Based on a similar change made in the Linux Realtek PHY driver
by Martin Blumenstingl <martin.blumenstingl@googlemail.com>.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: York Sun <york.sun@nxp.com>
drivers/net/phy/realtek.c