1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux
Markus Stockhausen 6e416149d7 realtek: phy: drop use of mdio package functions
Our phy driver can handle some multiport phys (e.g. RTL8218B
or RTL8214FC). To access arbitrary ports some package access
functions have been defined. These were implemented in the
mdio bus with poor knowledge about the phy/mdio dependencies.
So they add unneeded complexity to the bus and the phy driver
must access these external functions directly.

Provide a new helper get_package_phy() that can derive any
phy device in a package from a given phy of that package.
Make use of this local helper and cut the mdio dependency.

While we refactor several firmware patching functions rename
the loop variables to "port" to better indicate what we are
working on.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19810
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-08-30 00:18:18 +02:00
..
airoha kernel: bump 6.6 to 6.6.98 2025-07-16 09:40:36 +02:00
apm821xx apm821xx: sata: refresh config 2025-07-27 18:22:31 +02:00
armsr armsr: Make kernel modules depend on target 2025-07-26 01:11:21 +02:00
at91
ath79 ath79: add calibtation variant for Xiaomi AIoT AC2350 2025-08-28 13:35:07 +02:00
bcm27xx kernel: bump 6.12 to 6.12.43 2025-08-26 21:35:36 +02:00
bcm47xx
bcm53xx
bcm4908
bmips kernel: bump 6.12 to 6.12.39 2025-07-19 11:59:56 +02:00
d1
gemini gemini: Remove kmod-md-multipath dependency 2025-07-27 01:35:36 +02:00
generic kernel: bump 6.6 to 6.6.102 2025-08-28 21:12:10 +02:00
imx generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
ipq40xx kernel: bump 6.12 to 6.12.43 2025-08-26 21:35:36 +02:00
ipq806x treewide: fix compatible string for ath10k 2025-08-25 10:35:39 +02:00
ixp4xx
kirkwood kirkwood: add kmod-ata-ahci as default to ix4-200d 2025-07-19 17:58:41 +02:00
lantiq kernel: bump 6.12 to 6.12.43 2025-08-26 21:35:36 +02:00
layerscape kernel: bump 6.12 to 6.12.43 2025-08-26 21:35:36 +02:00
loongarch64 loongarch64: add 6.12 as testing kernel 2025-07-12 23:17:00 +02:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek mediatek: dts: use dt-bindings documented bias type for UniFi 6 Plus 2025-08-25 19:52:43 +02:00
mpc85xx mpc85xx: tl-wdr4900: add back 5ghz LED 2025-08-13 09:57:05 +02:00
mvebu mvebu: switch to kernel 6.12 2025-08-04 22:57:18 +02:00
mxs
octeon
omap omap: enable 6.12 testing kernel 2025-08-22 20:18:16 +02:00
pistachio
qoriq
qualcommax qualcommax: migrate wifi configuration (ath10k) device paths for 6.12 kernel 2025-08-27 09:50:02 +02:00
qualcommbe kernel: Reorder kernel configuration 2025-07-26 01:11:21 +02:00
ramips kernel: bump 6.12 to 6.12.43 2025-08-26 21:35:36 +02:00
realtek realtek: phy: drop use of mdio package functions 2025-08-30 00:18:18 +02:00
rockchip rockchip: Add Realtek RTL8821CU support for the Radxa ROCK Pi E v3 2025-08-01 15:52:26 +03:00
sifiveu
siflower siflower: sf21: fix usb_vbus for Bananapi BPI-RV2 2025-08-10 21:51:17 +02:00
starfive
stm32 generic: 6.12: add new config symbols 2025-07-13 15:27:54 +02:00
sunxi sunxi: enable ramdisk feature 2025-08-11 23:06:24 +02:00
tegra tegra: add 6.12 as testing kernel 2025-07-13 00:49:37 +02:00
uml
x86 x86: add Minisforum MS-A2 Mini PC 2025-08-10 12:12:05 +02:00
zynq
Makefile