openwrt/target/linux/generic
Daniel Golle c87a767801 generic: net: phy: realtek: work-around hang on SerDes setup
On some but not all devices using the RTL8221B 2.5GBit/s PHY the SerDes
setup sequence may hang under some circumstances (eg. <2500M link
partner present during boot).

RTL8221B-VB-CG 2.5Gbps PHY (C45) mdio-bus:01: rtl822xb_config_init failed: -110

Work-around the issue by performing a hardware reset and subsequent
retry of the SerDes setup, which seems to always succeed.

Doing this requires moving ALDPS setup to config_init (which is anyway
the better place for that) as it otherwise doesn't survive the reset.

Also disable listening on MDIO address 0 which may be used by other PHYs
despite being spec'ed as "broadcast address", as bus activity on address
0 may otherwise confuse the RealTek PHY for good reasons.

Tested-by: Luis Mita <luis@luismita.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-01-30 19:17:27 +00:00
..
backport-6.6 generic: 6.6: add backported btsdio patch for cyw437 2025-01-27 10:35:37 +01:00
files Revert "kernel: remove custom ath9k_platform.h" 2025-01-01 11:22:39 +01:00
hack-6.6 generic: refresh hack patches 2025-01-22 20:12:58 +01:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.6 generic: net: phy: realtek: work-around hang on SerDes setup 2025-01-30 19:17:27 +00:00
config-6.6 generic: add missing CONFIG_LEDS_ST1202 symbol 2025-01-27 14:27:52 +01:00
config-filter kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
PATCHES