]> git.sur5r.net Git - u-boot/commit
net: phy: marvell 88e151x: Fix handling of bare RGMII interface type
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Jan 2018 10:08:25 +0000 (11:08 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 26 Feb 2018 21:47:07 +0000 (15:47 -0600)
commit431be621c6cbc72efd1d45fa36686a682cbb470a
treea04b07363f4ea33abd7a4b9a3022977d53a728d0
parent76f11d3adf9aaf081856e354e0290afe8e5a7911
net: phy: marvell 88e151x: Fix handling of bare RGMII interface type

Commit 68e6ecadc551 ("net: phy: marvell 88e151x: Fix handling of RGMII
interface types") fixed the initialization of 88e151x phys, but made it
so that interfaces of type PHY_INTERFACE_MODE_RGMII had both RX and TX
delay bits cleared. The default (like in m88e1111s_config) is to have
both bits set.

Hence, this patch changes the behavior in the PHY_INTERFACE_MODE_RGMII
case so that both bits are set.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/marvell.c