openwrt/target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek
Mathias Kresin f96c7f697f ramips: handle mdio address and switch port seperate
The phy handling code forces a phy mdio address and the switch port to
which a phy is attached to be the same. Albeit such a configuration is
used for most boards, it isn't for all.

Pass the switch port number to the ethernet phy connect functions, to
ensure the correct list entry is edited and not the list entry that
matches th phys mdio address.

Use the mdio address with mdiobus_get_phy instead of the port number,
to make sure the expected ethernet phy gets connected.

Signed-off-by: Mathias Kresin <dev@kresin.me>
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: handle mdio address and switch port seperate 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