openwrt/target/linux/realtek/files-6.12/drivers
Markus Stockhausen 0ff617f1f6 realtek: pcs: revive dead ports after RTL8382M start
SerDes attached ports that are connected during switch
boot might not be able to transmit any data after SerDes
setup. Especially ports that passed traffic before (e.g.
for tftp initramfs boot) seem to be affected. Ports that
are connected later do not show this issue.

It turns out that the old SerDes setup never really worked
on RTL8382 and the pcs refactoring (with dynamic SerDes
start and stop) totally changed the order of network bringup
in contrast to Realtek SDK.

Fix this by restaring the switch queue whenever a SerDes
goes up for the first time.

Fixes: e956adf ("realtek: rtl838x: setup SDS in PCS driver")
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/21956
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 0839c5c9f2)
Manually resolved merge conflicts.
Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22087
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-01 02:02:29 +01:00
..
clk/realtek treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
i2c/busses realtek: drop downstream rtl93xx i2c driver 2025-08-13 14:23:35 +02:00
net realtek: pcs: revive dead ports after RTL8382M start 2026-03-01 02:02:29 +01:00
thermal realtek: Cleanup tab vs spaces for indentation 2025-11-23 22:26:10 +01:00