openwrt/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek
Pawel Dembicki c02a9a2514 ramips: mt7620: fix external PHY autopolling
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>
2019-06-20 08:48:19 +02:00
..
esw_rt3050.c
esw_rt3050.h
ethtool.c
ethtool.h
gsw_mt7620.c ramips: mt7620: add force use of mdio-mode 2018-11-26 12:16:52 +01:00
gsw_mt7620.h
gsw_mt7621.c
Kconfig
Makefile
mdio_mt7620.c
mdio_rt2880.c ramips: handle mdio address and switch port seperate 2019-06-20 08:48:19 +02:00
mdio_rt2880.h
mdio.c ramips: handle mdio address and switch port seperate 2019-06-20 08:48:19 +02:00
mdio.h ramips: handle mdio address and switch port seperate 2019-06-20 08:48:19 +02:00
mt7530.c
mt7530.h
mtk_debugfs.c
mtk_eth_soc.c ramips: add support for Edimax EW-7476RPC / EW-7478AC 2019-06-20 08:31:24 +02:00
mtk_eth_soc.h ramips: implement vlan rx offload on MT7621 2019-04-03 10:40:09 +02:00
mtk_offload.c ramips: allow packets with ttl=0 2019-03-24 12:10:15 +01:00
mtk_offload.h
soc_mt7620.c ramips: mt7620: fix external PHY autopolling 2019-06-20 08:48:19 +02:00
soc_mt7621.c ramips: implement vlan rx offload on MT7621 2019-04-03 10:40:09 +02:00
soc_rt2880.c
soc_rt3050.c
soc_rt3883.c