]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: make use of SerDes struct in set_autoneg
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sat, 13 Dec 2025 20:12:13 +0000 (20:12 +0000)
committerRobert Marko <robimarko@gmail.com>
Tue, 16 Dec 2025 12:37:32 +0000 (13:37 +0100)
commitd8dd8bd88f264d39f8c8c1cff056b4ec32a985bb
tree382971ad212d2c0fd2b7817e864d0f118ff5ec18
parent1fccb0eb1636ad7c417a14c55e766cd97e875015
realtek: pcs: make use of SerDes struct in set_autoneg

Also switch set_autoneg (and related helper rtpcs_sds_modify) to the
SerDes struct instead of the plain SerDes id by using just the reference
to the SerDes instance instead of (ctrl, sds_id) tuple. This completes
the transition.

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