realtek: pcs: add separate SerDes struct
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sat, 13 Dec 2025 10:12:35 +0000 (10:12 +0000)
committerRobert Marko <robimarko@gmail.com>
Tue, 16 Dec 2025 12:37:32 +0000 (13:37 +0100)
commit6b3f8fb16faf1e9c28b282340a112b2bcb06b0d3
treee7ea13b1594fdf108856bcd49af90f8b08fffdb7
parent6cf33aacfe9d01903f1662795a28c5a7fc6e2fb7
realtek: pcs: add separate SerDes struct

Add a separate structure for a SerDes. This is needed to appropriately
store per-SerDes information, which in turn is needed for future work.
Additionally, it's intended to reduce boilerplate and several
inconsistencies.

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>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c