--- zzzz-none-000/linux-4.4.271/include/linux/console.h 2021-06-03 06:22:09.000000000 +0000 +++ maple-fsgw-759/linux-4.4.271/include/linux/console.h 2023-12-20 10:37:35.000000000 +0000 @@ -116,6 +116,7 @@ #define CON_ANYTIME (16) /* Safe to call when cpu is offline */ #define CON_BRL (32) /* Used for a braille device */ #define CON_EXTENDED (64) /* Use the extended output format a la /dev/kmsg */ +#define CON_MUTED (128) /* mute console output */ struct console { char name[16]; @@ -128,6 +129,7 @@ short flags; short index; int cflag; + int baud; void *data; struct console *next; }; @@ -154,6 +156,10 @@ extern struct tty_driver *console_device(int *); extern void console_stop(struct console *); extern void console_start(struct console *); +extern void console_mute(struct console *); +extern void console_mute_nolock(struct console *); +extern void console_unmute(struct console *); +extern void console_unmute_nolock(struct console *); extern int is_console_locked(void); extern int braille_register_console(struct console *, int index, char *console_options, char *braille_options);