]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: add setup_serdes callback to rtpcs_cfg 20352/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 8 Oct 2025 19:37:30 +0000 (19:37 +0000)
committerRobert Marko <robimarko@gmail.com>
Fri, 10 Oct 2025 09:00:15 +0000 (11:00 +0200)
commit5b527704b15c14ef4d41cd48d26292758c9281aa
treeb3cbdfaf21a0bf8e8d8bb73d8591a0ce1e9b7c59
parent3cf04d2e0b95b853c09af7f709a81ee1a2ca6480
realtek: pcs: add setup_serdes callback to rtpcs_cfg

Add a callback for a serdes setup function to rtpcs_cfg to allow each
SoC variant to define its own SerDes setup routine.

Call the setup_serdes operation in pcs_config if it is defined.

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