openwrt/target/linux/realtek
Markus Stockhausen 372f2563f6
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
realtek: phy: fix RTL8214FC fibre/copper initialization
A phy is configured in two stages

- phy_probe() for setup of structures
- config_init() for device setup (after reset)

RTL8214FC is a combo phy and the currently active port can be switched
with the SFP helper functions that are triggered during SFP insertion
and removal. In case a fibre SFP is inserted while booting the SFP
trigger is run between the above mentioned stages. During the final
setup in config_init() the phy is reset to the copper port. Thus no
link is available on fibre and the SFP must be reinserted for normal
operation.

For a consistent behaviour the fibre/copper port setup must run before
the SFP probing and not afterwards. Move the setup code from config_init()
into phy_probe().

Fixes: 10ae743 ("realtek: phy: simplify RTL8214FC configuration")
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21582
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-01-24 11:44:10 +01:00
..
base-files realtek/rtl839x: Edgecore ECS4100-12PH support 2026-01-09 21:03:41 +02:00
dts realtek: mdio: derive phy smi-bus from parent node 2026-01-21 23:32:54 +01:00
files/firmware/rtl838x_phy realtek: phy: drop unused firmware setup for RTL8214FC 2026-01-15 15:26:44 +01:00
files-6.12 realtek: phy: fix RTL8214FC fibre/copper initialization 2026-01-24 11:44:10 +01:00
image realtek: image: switch cameo devices from gzip to lzma 2026-01-18 11:15:10 +01:00
patches-6.12 kernel: bump 6.12 to 6.12.66 2026-01-20 01:15:32 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: phy: drop unused firmware setup for RTL8214FC 2026-01-15 15:26:44 +01:00
rtl839x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl930x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl930x_nand kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl931x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
rtl931x_nand kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00