aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_ptmx_arm.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-03 14:32:26 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-03 18:48:14 +0100
commitcbfd9102502f23fb418bddc14fbcf58d737940a1 (patch)
tree72ebedac3bf55db0001ffc8392ff5802e634e83b /sys/linux/dev_ptmx_arm.const
parentd20ee9bd98f1a0e98c2d02da825acf3628562e8d (diff)
sys/linux: more tuning of tty devices
Enable /dev/tty{1-6}. These seem to be special. Few first connected to framebuffers. But the rest seem to be different from e.g. tty20 anyway. Also /dev/tty is different from the rest. /dev/ttyS3 and /dev/ttyprintk are different. Properly pair BSD pty terminals.
Diffstat (limited to 'sys/linux/dev_ptmx_arm.const')
-rw-r--r--sys/linux/dev_ptmx_arm.const2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/dev_ptmx_arm.const b/sys/linux/dev_ptmx_arm.const
index b00afe8e1..cd76c698f 100644
--- a/sys/linux/dev_ptmx_arm.const
+++ b/sys/linux/dev_ptmx_arm.const
@@ -53,6 +53,8 @@ TCGETA = 21509
TCGETS = 21505
TCGETS2 = 2150388778
TCGETX = 21554
+TCIFLUSH = 0
+TCIOFLUSH = 2
TCSBRK = 21513
TCSBRKP = 21541
TCSETA = 21510