From 779290ade50af7a90a4f0c76aa96fb4ea105cbff Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 2 Oct 2018 14:02:08 +0100 Subject: [PATCH] nascom: update to new tty masking --- Kernel/platform-nascom/devnascom.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Kernel/platform-nascom/devnascom.c b/Kernel/platform-nascom/devnascom.c index 567b2413..5106d02e 100644 --- a/Kernel/platform-nascom/devnascom.c +++ b/Kernel/platform-nascom/devnascom.c @@ -24,6 +24,19 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = { /* ttyinq[0] is never used */ {tbuf2, tbuf2, tbuf2, TTYSIZ, 0, TTYSIZ / 2}, }; +static tcflag_t console_mask[4] = { + _ISYS, + _OSYS, + _CSYS, + _LSYS +}; + +tcflag_t *termios_mask[NUM_DEV_TTY + 1] = { + NULL, + console_mask, + console_mask /* Set by jumpers */ +}; + /* Write to system console */ void kputchar(char c) { -- 2.34.1