]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: dsa: rtl931x: downgrade print_matrix to debug 24507/head
authorJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 31 Jul 2026 13:39:38 +0000 (13:39 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 2 Aug 2026 09:55:26 +0000 (11:55 +0200)
Downgrade rtldsa_931x_print_matrix from pr_info to pr_debug to reduce
the massive amount printed during boot (64 lines). There doesn't seem
any benefit right now for keeping this at info level. And RTL931X is
the only variant that uses info-level print right now, all others
already use pr_debug.

Debug output can be activated individually for people who need this for
testing/debugging.

Link: https://github.com/openwrt/openwrt/pull/24507
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/realtek/files-6.18/drivers/net/dsa/rtl83xx/rtl931x.c

index e992c45c2231cb3113d508a1a496a5cc12b6f292..dc3b70da5c71ee2d5060f179a5d8e4d805cc360d 100644 (file)
@@ -456,8 +456,8 @@ void rtldsa_931x_print_matrix(void)
 
        for (int i = 0; i < 64; i++) {
                rtl_table_read(r, i);
-               pr_info("> %08x %08x\n", sw_r32(rtl_table_data(r, 0)),
-                       sw_r32(rtl_table_data(r, 1)));
+               pr_debug("> %08x %08x\n", sw_r32(rtl_table_data(r, 0)),
+                        sw_r32(rtl_table_data(r, 1)));
        }
        rtl_table_release(r);
 }