]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl930x: carve out debug selection
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sat, 4 Jul 2026 23:58:24 +0000 (23:58 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 6 Jul 2026 20:36:21 +0000 (22:36 +0200)
commitab49df26438495671f2b7f81fd7d8a1e1007dc00
tree819c4741772848e30eee0680ed4fd0607fd259fb
parent87e02936a4de432f2ba92e53151b4248ea4fc259
realtek: pcs: rtl930x: carve out debug selection

The three SerDes writes setting a debug output is heavily used by the
calibration code. But right now, it is duplicated in every user site. To
reduce duplication, carve out into a dedicated helper.

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