From 423579e782716a4f770b8eb85fab6a984891febf Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 1 Oct 2018 23:47:12 +0100 Subject: [PATCH] micropack: update for termios masks --- Kernel/platform-micropack/devtty.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Kernel/platform-micropack/devtty.c b/Kernel/platform-micropack/devtty.c index a5ee1aab..279235ba 100644 --- a/Kernel/platform-micropack/devtty.c +++ b/Kernel/platform-micropack/devtty.c @@ -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) { -- 2.34.1