openwrt/target/linux/realtek
Jonas Jelonek 00ceb1ed17
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
realtek: pcs: rtl931x: configure SerDes-backing MAC groups
RTL931x organizes MACs into 12 groups (one per SerDes) that must be
explicitly enabled before link establishment. Without initialization,
link may fail or packets may be corrupted, especially in USXGMII/XSGMII
modes. This is the case for devices which lack initialization by the
bootloader.

Simply enable all MACs in all groups by writing 0xffffffff to the
registers. Unused MACs and reserved bits are harmless, avoiding complex
logic to always set only needed MACs.

This is placed in the PCS driver since the MAC groups are assigned per
SerDes and the DSA driver lacks SerDes awareness (on purpose)

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22088
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-02-21 14:04:48 +01:00
..
base-files realtek: add support for XikeStor SKS8300-12X V1 2026-02-21 00:49:51 +01:00
dts realtek: add support for XikeStor SKS8300-12X V1 2026-02-21 00:49:51 +01:00
files-6.12 realtek: pcs: rtl931x: configure SerDes-backing MAC groups 2026-02-21 14:04:48 +01:00
image realtek: add support for XikeStor SKS8300-12X V1 2026-02-21 00:49:51 +01:00
patches-6.12 kernel: bump 6.12 to 6.12.71 2026-02-14 18:30:02 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: rtl838x: enable U-Boot env NVMEM layout in kernel 2026-02-21 00:31:48 +01:00
rtl839x realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl930x realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl930x_nand realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl931x realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
rtl931x_nand realtek: phy: rename and relocate module 2026-02-09 09:59:25 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00