public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96ee8df
)
sam: update for termios masks
author
Alan Cox
<alan@linux.intel.com>
Tue, 2 Oct 2018 11:45:31 +0000
(12:45 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 2 Oct 2018 11:45:31 +0000
(12:45 +0100)
Kernel/platform-sam/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-sam/devtty.c
b/Kernel/platform-sam/devtty.c
index
9466faa
..
15580a7
100644
(file)
--- a/
Kernel/platform-sam/devtty.c
+++ b/
Kernel/platform-sam/devtty.c
@@
-16,6
+16,19
@@
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
+};
+
+tcflag_t *termios_mask[NUM_DEV_TTY + 1] = {
+ NULL,
+ console_mask,
+ console_mask /* For now */
+};
+
/* Write to system console */
void kputchar(char c)
{