mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
c02a9a2514
The port initialisation is based on assumption that phy address and port number is the same. SoC allow different numbers and some board have it. Use phy address instead the port number to make sure that correct addresses are polled. In situation when only one PHY with address 0x0 is conected to port 4, autopolling is broken. This patch make autopolling correct when port number and phy address are different. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> |
||
---|---|---|
.. | ||
esw_rt3050.c | ||
esw_rt3050.h | ||
ethtool.c | ||
ethtool.h | ||
gsw_mt7620.c | ||
gsw_mt7620.h | ||
gsw_mt7621.c | ||
Kconfig | ||
Makefile | ||
mdio_mt7620.c | ||
mdio_rt2880.c | ||
mdio_rt2880.h | ||
mdio.c | ||
mdio.h | ||
mt7530.c | ||
mt7530.h | ||
mtk_debugfs.c | ||
mtk_eth_soc.c | ||
mtk_eth_soc.h | ||
mtk_offload.c | ||
mtk_offload.h | ||
soc_mt7620.c | ||
soc_mt7621.c | ||
soc_rt2880.c | ||
soc_rt3050.c | ||
soc_rt3883.c |