]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 3 Jan 2021 01:25:43 +0000 (02:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 19:16:15 +0000 (20:16 +0100)
commitc0883010d3b3c59aa6caa1f0034ff47028df6e53
tree0c4aa42d9e918092cad6220999536ee93a5ebe28
parent07f26fc52b454e46a6e0769b436685ff121209ac
net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs

[ Upstream commit c1a9ec7e5d577a9391660800c806c53287fca991 ]

Enable GSWIP_MII_CFG_EN also for internal PHYs to make traffic flow.
Without this the PHY link is detected properly and ethtool statistics
for TX are increasing but there's no RX traffic coming in.

Fixes: 14fceff4771e51 ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
Suggested-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/lantiq_gswip.c