]> git.baikalelectronics.ru Git - kernel.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)
committerJakub Kicinski <kuba@kernel.org>
Mon, 4 Jan 2021 21:47:15 +0000 (13:47 -0800)
commit3a0ed845c01d0447b1d2754d44de4a9a5e9e08b8
treec370b4060a0b4a714ff1e357b10517e644c5b628
parent1cf17e8e730575a1405eabcbfdbef95d0bede5f1
net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs

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: 1e1742476b63e3 ("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>
drivers/net/dsa/lantiq_gswip.c