mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
01bbed7444
A workaround was added to the switch driver to set SOC port 4 as an RGMII GMAC interface based on the DTS property mediatek,port4-gmac. (previously mediatek,port4) However, the ethernet driver already does this, but is being blocked by a return statement whenever the phy-handle and fixed-link properties are both missing from nodes that define the port properties. Revert the workaround, so that both the switch driver and ethernet driver are not doing the same thing and move the phy-handle related lines down so nothing is ending the function prematurely. While at it, clean up kernel messages and delete useless return statements. Fixes: |
||
---|---|---|
.. | ||
esw_rt3050.c | ||
esw_rt3050.h | ||
ethtool.c | ||
ethtool.h | ||
gsw_mt7620.c | ||
gsw_mt7620.h | ||
Kconfig | ||
Makefile | ||
mdio_mt7620.c | ||
mdio_rt2880.c | ||
mdio_rt2880.h | ||
mdio.c | ||
mdio.h | ||
mt7530.c | ||
mt7530.h | ||
mtk_eth_soc.c | ||
mtk_eth_soc.h | ||
soc_mt7620.c | ||
soc_rt2880.c | ||
soc_rt3050.c | ||
soc_rt3883.c |