]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: drop setup_serdes 23861/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Thu, 18 Jun 2026 07:46:12 +0000 (07:46 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Thu, 18 Jun 2026 20:23:31 +0000 (22:23 +0200)
commit4ec2d6dd974751fede83ad69c6b4a4a29d973c77
tree045219524a8fd0f449cf269ac226fa80bdab4a44
parentf6d95ca8c2f743378a3e974818b7f221839c1642
realtek: pcs: drop setup_serdes

Introducing the setup_serdes hook in the PCS driver was always intended
to be only a temporary solution. It was needed to be able to collect all
scattered code in the PCS driver first. Later, refactoring can be done
to bring everything into a proper shape.

Now we've reached the point where the setup of all variants has been
refactored in such a way that all share the same high-level sequence.
This is fully orchestrated in pcs_config now. Thus, the setup_serdes hook
is no longer needed. Move the last piece out of it into another SerDes
op hook, then drop setup_serdes.

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