]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: introduce dedicated SerDes ops
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 18 Jan 2026 17:26:37 +0000 (17:26 +0000)
committerRobert Marko <robimarko@gmail.com>
Wed, 28 Jan 2026 20:10:42 +0000 (21:10 +0100)
commit136cec0e006fde86c652a851367a72a0f755044d
treeea25f5bb06a5c90a69d60e06afed911149aab772
parentbc8424ab89cd64d94637a0580c9c7723c7c50550
realtek: pcs: introduce dedicated SerDes ops

Add a dedicated structure for SerDes operations. This will be used for
several common operations currently called individually in various
places of the code.

Start with defining the basic read and write operations for a SerDes in
this structure. Use generic implementations of these operations for all
variants (RTL83xx, RTL93xx) for now.

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