]> git.baikalelectronics.ru Git - uboot.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)
commitb268105ec29600acd9a1b80dd0b1dda8684fa843
tree3dce5cb3d851091bb844a6958ca9452f3a7462f4
parent047b241291526d46b98e4bdfc7254b653a67860c
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