summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_termios.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2000-08-18 14:57:00 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2000-08-18 14:57:00 +0000
commit1eba37f41d2807763b3c8404f9fda3ad3d8dbbc6 (patch)
treef49a70f68b7e106c60911903b05a34345c9cad07 /sys/compat/linux/linux_termios.c
parentb67dee9d1d17a6f9f1203fafa04173c710ffd93b (diff)
Add TCSBRK emulation. bug reported by sparud@crt.se
Diffstat (limited to 'sys/compat/linux/linux_termios.c')
-rw-r--r--sys/compat/linux/linux_termios.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_termios.c b/sys/compat/linux/linux_termios.c
index 0867d932175..4dd23897436 100644
--- a/sys/compat/linux/linux_termios.c
+++ b/sys/compat/linux/linux_termios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_termios.c,v 1.6 1999/07/18 00:12:04 deraadt Exp $ */
+/* $OpenBSD: linux_termios.c,v 1.7 2000/08/18 14:56:59 niklas Exp $ */
/* $NetBSD: linux_termios.c,v 1.3 1996/04/05 00:01:54 christos Exp $ */
/*
@@ -645,6 +645,9 @@ linux_ioctl_termios(p, uap, retval)
case LINUX_TIOCNOTTY:
SCARG(&ia, com) = TIOCNOTTY;
break;
+ case LINUX_TCSBRK:
+ SCARG(&ia, com) = TIOCSBRK;
+ break;
case LINUX_TCXONC:
switch ((int)SCARG(uap, data)) {
case LINUX_TCOOFF: