public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebb3ad4
)
multicomp: update to termios masking
author
Alan Cox
<alan@linux.intel.com>
Tue, 2 Oct 2018 13:00:39 +0000
(14:00 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Tue, 2 Oct 2018 13:00:39 +0000
(14:00 +0100)
Kernel/platform-multicomp09/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-multicomp09/devtty.c
b/Kernel/platform-multicomp09/devtty.c
index
c922645
..
cb9365f
100644
(file)
--- a/
Kernel/platform-multicomp09/devtty.c
+++ b/
Kernel/platform-multicomp09/devtty.c
@@
-76,6
+76,29
@@
struct s_queue ttyinq[NUM_DEV_TTY + 1] = {
{tbufa, tbufa, tbufa, TTYSIZ, 0, TTYSIZ / 2},
};
+static tcflag_t console_mask[4] = {
+ _ISYS,
+ _OSYS,
+ _CSYS,
+ _LSYS
+};
+
+tcflag_t *termios_mask[NUM_DEV_TTY + 1] = {
+ NULL,
+ /* Virtual UART */
+ console_mask,
+ console_mask,
+ /* Drivewire */
+ console_mask,
+ console_mask,
+ console_mask,
+ console_mask,
+ /* Virtual Window */
+ console_mask,
+ console_mask,
+ console_mask,
+ console_mask
+};
/* A wrapper for tty_close that closes the DW port properly */