]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl931x: improve port media handling 21385/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 4 Jan 2026 17:22:29 +0000 (17:22 +0000)
committerRobert Marko <robimarko@gmail.com>
Wed, 7 Jan 2026 10:01:11 +0000 (11:01 +0100)
commitb94c3ba0ff3bb8d15f9148aa7888d5390be6e3bf
treeb5078d649be6573a8f46ea2bd76222408809a2f0
parent7971386514707c347e7530a701695741e19a9f84
realtek: pcs: rtl931x: improve port media handling

The port media handling introduced before was to some extent just taken
over from the SDK. As a second step, improve that code now. Some code
can be deduplicated, a few statements removed and improved in general.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21385
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c