68000: update to new tty masking
authorAlan Cox <alan@linux.intel.com>
Tue, 2 Oct 2018 13:02:29 +0000 (14:02 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 2 Oct 2018 13:02:29 +0000 (14:02 +0100)
Kernel/platform-v68-banked/devtty.c
Kernel/platform-v68-softmmu/devtty.c
Kernel/platform-v68/devtty.c

index b872727..b906411 100644 (file)
@@ -16,6 +16,18 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = {   /* ttyinq[0] is never used */
        {tbuf1, tbuf1, tbuf1, 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
+};
+
 /* Output for the system console (kprintf etc) */
 void kputchar(char c)
 {
index b872727..b906411 100644 (file)
@@ -16,6 +16,18 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = {   /* ttyinq[0] is never used */
        {tbuf1, tbuf1, tbuf1, 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
+};
+
 /* Output for the system console (kprintf etc) */
 void kputchar(char c)
 {
index b872727..b906411 100644 (file)
@@ -16,6 +16,18 @@ struct s_queue ttyinq[NUM_DEV_TTY + 1] = {   /* ttyinq[0] is never used */
        {tbuf1, tbuf1, tbuf1, 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
+};
+
 /* Output for the system console (kprintf etc) */
 void kputchar(char c)
 {