The function mt7620_mdio_mode is only called once and both the function and mdio_mode block have been named incorrectly, leading to confusion and useless commits. These lines in the mdio_mode block of mt7620_hw_init are only intended for boards with an external mt7530 switch. (see commit |
||
|---|---|---|
| .. | ||
| 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 | ||