openwrt/target/linux
Jonas Jelonek 40fa81433b realtek: pcs: rtl930x: break up fiber config sequences
The patch/config sequences we took over from the SDK are partially
redundant, i.e. they share common parts which can be separated per
speed. For example, the config for 10GR contains the one for 2500Base-X
but we have a dedicated one for 2500Base-X. This is a first step to
modularize and reverse-engineer those sequences, and decrease the size
they claim.

The sequences are nearly exclusive ordered by ascending pages. This
suggests that those register/writes do not have a hidden function of
performing inline resets but rather are just configuration values.
Likely, they may be applied in rather arbitrary order. Splitting up the
sequences here assumes this is true and does some minor order changes.
Testing shows no behavioral change. Looking at [1] there are no relevant
reset or trigger bits affected by that. Suspiciously ordered writes have
mostly been kept though.

USXGMII setup needs to be adjusted too due to shared sequence parts.

[1] 82af3a36b7/sources/rtk-dms1250/include/hal/phy/rtl8295_reg_def.h

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22582
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-26 10:53:46 +01:00
..
airoha airoha: backport additional rework in preparation for multi-serdes support 2026-03-24 19:35:02 +01:00
apm821xx Revert "apm821xx: rename pciex to pcie" 2026-02-10 14:54:23 +01:00
armsr kernel: lift CONFIG_REGULATOR_VEXPRESS 'not set' to generic 2026-02-28 10:12:15 +01:00
at91 kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
ath79 ath79: fix initramfs boot for Huawei AP5030DN and AP6010DN 2026-03-24 22:21:56 +01:00
bcm27xx kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
bcm47xx kernel: bump 6.12 to 6.12.64 2026-01-15 01:22:47 +01:00
bcm53xx bcm53xx: mr26: fix nvmem MAC override 2026-03-11 12:13:14 +01:00
bcm4908 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
bmips Revert "bmips: huawei-hg556a-c: use nvmem for wifi eeprom" 2026-02-20 23:01:29 +01:00
d1 d1: Enable LED driver for D1 builds 2026-01-23 10:35:36 +01:00
econet kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
gemini gemini: add support for Teltonika RUT104 2026-02-17 11:27:22 +01:00
generic kernel: backport crypto selftests for some ciphersuites 2026-03-24 01:33:48 +01:00
imx imx: cortexa53: remove KSZ9477 static driver 2026-03-13 19:59:59 +01:00
ipq40xx ipq40xx: fix art partition name WHW03 V1 2026-03-25 21:13:43 +01:00
ipq806x ipq806x: ap3935: fix uboot nvmem 2026-03-10 13:38:33 +01:00
ixp4xx ixp4xx: select the GPIO keys input package 2026-01-28 18:59:47 +01:00
kirkwood kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
lantiq lantiq: xrx200: autoload lantiq_gswip and tag_gswip to fix failsafe mode 2026-03-22 22:35:37 +01:00
layerscape kernel: bump 6.12 to 6.12.71 2026-02-14 18:30:02 +01:00
loongarch64 loongarch64: set PREEMPT_NONE as default preemption model 2026-01-24 22:54:29 +01:00
malta malta: convert to Device macro image building 2026-02-11 00:08:34 +01:00
mediatek mediatek: filogic: fix devicetree compiler warnings 2026-03-25 20:50:57 +01:00
microchipsw microchipsw: add MTU change support 2026-03-24 18:42:52 +01:00
mpc85xx mpc85xx: remove swconfig package 2026-03-21 22:34:27 +01:00
mvebu kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
mxs kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
octeon kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
omap kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
pistachio kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
qoriq package: uboot-qoriq: fix T4240RDB u-boot selection 2026-01-12 13:59:30 +01:00
qualcommax kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
qualcommbe kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
ramips ramips-mt7621: fix xiaomi mi ac2100 mac address 2026-03-24 22:19:11 +01:00
realtek realtek: pcs: rtl930x: break up fiber config sequences 2026-03-26 10:53:46 +01:00
rockchip kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
sifiveu kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
siflower kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
starfive starfive: visionfive2: add CMA entry into board DTS 2026-03-22 12:42:33 +01:00
stm32 kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
sunxi sunxi: add PineCube support 2026-03-21 16:43:47 +01:00
tegra kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
uml kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
x86 x86: base-files add support for Sophos 210r3 and 230r2 2026-02-12 23:55:29 +01:00
zynq kernel: lift CONFIG_REGULATOR_VEXPRESS 'not set' to generic 2026-02-28 10:12:15 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00