public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662c547
)
micropack: update for termios masks
author
Alan Cox
<alan@linux.intel.com>
Mon, 1 Oct 2018 22:47:12 +0000
(23:47 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 1 Oct 2018 22:47:12 +0000
(23:47 +0100)
Kernel/platform-micropack/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-micropack/devtty.c
b/Kernel/platform-micropack/devtty.c
index
a5ee1aa
..
279235b
100644
(file)
--- 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)
{