openwrt/target/linux/ramips
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
..
base-files ramips: add support for Edimax EW-7478APC 2019-06-20 08:48:19 +02:00
dts ramips: add support for Edimax EW-7478APC 2019-06-20 08:48:19 +02:00
files-4.14/drivers ramips: handle mdio address and switch port seperate 2019-06-20 08:48:19 +02:00
image ramips: add support for Edimax EW-7478APC 2019-06-20 08:48:19 +02:00
mt76x8 ramips: enable R6120 USB power 2019-04-06 19:14:06 +02:00
mt7620 ramips: Add support for Head Weblink HDRM200 2019-05-17 21:41:43 +02:00
mt7621 ramips: mt7621: disable CONFIG_MTD_SPLIT_FIRMWARE 2018-12-13 13:39:56 +01:00
patches-4.14 kernel: bump 4.14 to 4.14.125 (FS#2305 FS#2297) 2019-06-12 15:04:09 +02:00
rt288x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt305x ramips: disable CONFIG_MTD_SPLIT_FIRMWARE 2019-01-26 21:46:33 +01:00
rt3883 ramips: rt3883: drop jimage support 2019-01-26 21:46:33 +01:00
Makefile ramips: switch to linux 4.14 2018-04-06 18:07:43 +02:00
modules.mk kernel: Fix kmod-regmap split 2019-01-27 11:07:14 +01:00