]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: add helpers for even, odd, neighbor SerDes
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sat, 13 Dec 2025 10:16:21 +0000 (10:16 +0000)
committerRobert Marko <robimarko@gmail.com>
Tue, 16 Dec 2025 12:38:13 +0000 (13:38 +0100)
commit01cfdb16103ae14e0525636ce4dfd062245cfb0b
tree8bfeacf68e377da7a08ee556349fdb2bc97637cd
parent40201e7f73b41c9539ea79d6cad112d53f8ef935
realtek: pcs: add helpers for even, odd, neighbor SerDes

Add dedicated helpers to get references to even, odd and neigbor SerDes
if needed. This should replace the various calculations scattered
throughout the code, providing a unified way to work with adjacent
SerDes.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21146
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 232c1fb14a072ee5c3c96ead43919ab5add526dd)
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c