OSDN Git Service

net: stmmac: dwmac-qcom-ethqos: Adjust rgmii loopback_en per platform
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 2 Mar 2022 10:39:50 +0000 (16:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2022 10:14:06 +0000 (10:14 +0000)
commita7bf6d7c9249946996bc622a7a8584f2c48ea372
tree008492245a802e4ed534ed8bb095dd24eb68e087
parentd90b3120473a770a10d81dd633e8e475ea86f944
net: stmmac: dwmac-qcom-ethqos: Adjust rgmii loopback_en per platform

Not all platforms should have RGMII_CONFIG_LOOPBACK_EN and the result it
about 50% packet loss on incoming messages. So make it possile to
configure this per compatible and enable it for QCS404.

Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-qcom-ethqos.c