public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b2f58a
)
z80pack: update for tty masks
author
Alan Cox
<alan@linux.intel.com>
Mon, 1 Oct 2018 22:52:41 +0000
(23:52 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 1 Oct 2018 22:52:41 +0000
(23:52 +0100)
Kernel/dev/z80pack/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/dev/z80pack/devtty.c
b/Kernel/dev/z80pack/devtty.c
index
b7c346c
..
74c0de8
100644
(file)
--- a/
Kernel/dev/z80pack/devtty.c
+++ b/
Kernel/dev/z80pack/devtty.c
@@
-27,6
+27,22
@@
struct s_queue ttyinq[NUM_DEV_TTY+1] = { /* ttyinq[0] is never used */
{ tbuf4, tbuf4, tbuf4, TTYSIZ, 0, TTYSIZ/2 }
};
+/* We have no actual controls on the virtual ports */
+static tcflag_t port_mask[4] = {
+ _ISYS,
+ _OSYS,
+ _CSYS,
+ _LSYS
+};
+
+tcflag_t *termios_mask[NUM_DEV_TTY + 1] = {
+ NULL,
+ port_mask,
+ port_mask,
+ port_mask,
+ port_mask
+};
+
static uint8_t ttypoll;
/* Write to system console */