micropack: update for termios masks
authorAlan Cox <alan@linux.intel.com>
Mon, 1 Oct 2018 22:47:12 +0000 (23:47 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 1 Oct 2018 22:47:12 +0000 (23:47 +0100)
Kernel/platform-micropack/devtty.c

index a5ee1aa..279235b 100644 (file)
@@ -15,6 +15,18 @@ struct  s_queue  ttyinq[NUM_DEV_TTY+1] = {       /* ttyinq[0] is never used */
     {   tbuf1,   tbuf1,   tbuf1,   TTYSIZ,   0,   TTYSIZ/2 },
 };
 
+static tcflag_t port_mask[4] = {
+       _ISYS,
+       _OSYS,
+       _CSYS,
+       _LSYS
+};
+
+tcflag_t *termios_mask[NUM_DEV_TTY + 1] = {
+       NULL,
+       port_mask
+};
+
 /* Write to system console */
 void kputchar(char c)
 {