diff options
author | Andrew Lunn <andrew@lunn.ch> | 2017-10-31 20:31:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-01 03:26:08 +0100 |
commit | 14fc0abafe159fbe8bbcfeca157ef3ba139fa75f (patch) | |
tree | 077b5bd3eabd726e9edaa8e78021a7eaa13ed559 /kernel/bpf | |
parent | Merge tag 'wireless-drivers-for-davem-2017-10-31' of git://git.kernel.org/pub... (diff) | |
download | linux-14fc0abafe159fbe8bbcfeca157ef3ba139fa75f.tar.xz linux-14fc0abafe159fbe8bbcfeca157ef3ba139fa75f.zip |
net: phy: marvell: Only configure RGMII delays when using RGMII
The fix 5987feb38aa5 ("net: phy: marvell: logical vs bitwise OR typo")
uncovered another bug in the Marvell PHY driver, which broke the
Marvell OpenRD platform. It relies on the bootloader configuring the
RGMII delays and does not specify a phy-mode in its device tree. The
PHY driver should only configure RGMII delays if the phy mode
indicates it is using RGMII. Without anything in device tree, the
mv643xx Ethernet driver defaults to GMII.
Fixes: 5987feb38aa5 ("net: phy: marvell: logical vs bitwise OR typo")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions