public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c14a5
)
socz80: add tty masking
author
Alan Cox
<alan@linux.intel.com>
Wed, 3 Oct 2018 12:11:01 +0000
(13:11 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 3 Oct 2018 12:11:01 +0000
(13:11 +0100)
Needs updating to handling the improved bitstream with serial config
Kernel/platform-socz80/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-socz80/devtty.c
b/Kernel/platform-socz80/devtty.c
index
c1e6f2f
..
992f239
100644
(file)
--- a/
Kernel/platform-socz80/devtty.c
+++ b/
Kernel/platform-socz80/devtty.c
@@
-15,6
+15,20
@@
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
+};
+
+/* FIXME: will do for now though */
+tcflag_t *termios_mask[NUM_DEV_TTY + 1] = {
+ NULL,
+ console_mask,
+ console_mask
+};
+
/* console helper */
void kputchar(char c)
{