openwrt/target/linux
Markus Stockhausen 1137aaa1c9 realtek: phy: keep register state during RTL8214FC fibre check
Reading the fibre status of a RTL8214FC needs access to the
page register (31) and the extended page register (30).

The current implementation has two issues.

- The extended page register is not restored after changes
- Instead of register 30 its write-only sibling 29 is used.

This has the following side effect:

During regular polling kernel calls rtl8214fc_read_status
and determines the media status via __rtl8214fc_media_is_fibre.
Writing to register 29 a copy of that value is handed over
to register 30. This makes use of mdio tools for the first
port of the RTL8214FC hard. Register 30 is overwritten with
zero every second.

Change access from register 29 to register 30 and adapt
the sequence to restore register 30 contents at the end.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21393
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2026-01-09 17:20:35 +02:00
..
airoha airoha: an7581: correct led nodename 2026-01-05 01:00:25 +01:00
apm821xx kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
armsr kernel: drop CONFIG_ARM64_CONTPTE from target configs 2025-11-26 21:08:34 +02:00
at91 treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
ath79 treewide: replace remove_new with remove 2026-01-03 17:27:25 +01:00
bcm27xx kernel: as21xxx: backport patch improve PHY HW reset 2026-01-04 16:41:29 +01:00
bcm47xx bcm47xx: Fix lzma-loader compilation 2025-12-04 21:41:40 +01:00
bcm53xx bcm53xx: add support for ASUS RT-AC3200 and ASUS RT-AC5300 2025-12-18 18:18:48 +00:00
bcm4908 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
bmips kernel: refresh upstreamed patches 2026-01-04 16:41:28 +01:00
d1 kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
econet kernel: bump 6.12 to 6.12.62 2025-12-17 00:27:21 +01:00
gemini gemini: Add module for VSC73xx switches 2025-09-15 23:12:56 +02:00
generic kernel: net: phy: realtek: replace patches with upstream backports 2026-01-09 12:55:02 +00:00
imx imx: drop support for kernel 6.6 2025-11-22 10:11:52 +01:00
ipq40xx kernel: as21xxx: backport patch improve PHY HW reset 2026-01-04 16:41:29 +01:00
ipq806x Revert "treewide: fixup ath10k nodes" 2025-11-29 17:56:11 +01:00
ixp4xx ixp4xx: fix bug in Actiontec DTS file 2026-01-04 16:51:31 +01:00
kirkwood kirkwood: add aliases and new partition for support D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq treewide: dts: update rtl836x switch sck/sda gpio properties 2025-12-23 18:22:02 +01:00
layerscape kernel: phylink: disable autoneg for interfaces that have no inband 2026-01-04 16:41:30 +01:00
loongarch64 loongarch64: Disable strict alignment to fix BPF program failures 2025-12-10 19:10:30 +01:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek mediatek: fix 2.5G PHY LED polarity for MT7987 2026-01-09 12:59:54 +00:00
microchipsw microchipsw: sync with DTS sent upstream 2025-12-24 10:57:17 +01:00
mpc85xx mpc85xx: add support for Watchguard Firebox T10-W, T15(-W) 2025-12-10 23:48:48 +01:00
mvebu kernel: as21xxx: backport patch improve PHY HW reset 2026-01-04 16:41:29 +01:00
mxs mxs: drop 6.6 support 2025-05-24 16:15:53 +02:00
octeon treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
omap omap: drop support for kernel 6.6 2025-11-22 10:16:35 +01:00
pistachio kernel: bump 6.12 to 6.12.62 2025-12-17 00:27:21 +01:00
qoriq qoriq: drop support for kernel 6.6 2025-11-26 17:21:14 +02:00
qualcommax qualcommax: ipq50xx: Correct USB DWC3 wrapper interrupts 2026-01-08 18:38:51 +01:00
qualcommbe qualcommbe: update ipq9574 PCS driver 2025-11-30 16:51:12 +01:00
ramips kernel: phylink: disable autoneg for interfaces that have no inband 2026-01-04 16:41:30 +01:00
realtek realtek: phy: keep register state during RTL8214FC fibre check 2026-01-09 17:20:35 +02:00
rockchip rockchip: fix kernel tag for backported patches 2026-01-07 10:44:11 +01:00
sifiveu kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
siflower kernel: bump 6.12 to 6.12.63 2025-12-31 17:55:44 +01:00
starfive kernel: as21xxx: backport patch improve PHY HW reset 2026-01-04 16:41:29 +01:00
stm32 stm32: drop kernel 6.6 support 2025-10-22 14:56:15 +02:00
sunxi sunxi: image: sync target profiles names with DT compatible 2025-12-16 01:44:34 +01:00
tegra tegra: promote kernel 6.12 as default 2025-11-11 21:23:14 +01:00
uml kernel: bump 6.12 to 6.12.33 2025-06-12 12:42:15 +02:00
x86 kernel: bump 6.12 to 6.12.60 2025-12-02 22:51:19 +01:00
zynq zynq: drop support for kernel 6.6 2025-11-25 17:27:24 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00