summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_termios.h
diff options
context:
space:
mode:
authorjasoni <jasoni@openbsd.org>2002-05-07 20:23:42 +0000
committerjasoni <jasoni@openbsd.org>2002-05-07 20:23:42 +0000
commit0c2a5570ae44e9eb535e8f04cb50e72e78d76bed (patch)
tree4f9200a899160b9b8eb886a1ff748709186622d7 /sys/compat/linux/linux_termios.h
parentFix uvisor for what's currently in the tree (diff)
downloadwireguard-openbsd-0c2a5570ae44e9eb535e8f04cb50e72e78d76bed.tar.xz
wireguard-openbsd-0c2a5570ae44e9eb535e8f04cb50e72e78d76bed.zip
support TIOCLINUX ioctl
- from NetBSD
Diffstat (limited to 'sys/compat/linux/linux_termios.h')
-rw-r--r--sys/compat/linux/linux_termios.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_termios.h b/sys/compat/linux/linux_termios.h
index dec7c6ba8be..b1a11e812eb 100644
--- a/sys/compat/linux/linux_termios.h
+++ b/sys/compat/linux/linux_termios.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_termios.h,v 1.3 1996/04/18 21:21:40 niklas Exp $ */
+/* $OpenBSD: linux_termios.h,v 1.4 2002/05/07 20:23:42 jasoni Exp $ */
#define LINUX_TCGETS _LINUX_IO('T', 1)
#define LINUX_TCSETS _LINUX_IO('T', 2)
@@ -238,3 +238,14 @@ struct linux_termios {
#define LINUX_N_SLIP 1
#define LINUX_N_MOUSE 2
#define LINUX_N_PPP 3
+
+/* values passed to TIOCLINUX ioctl */
+#define LINUX_TIOCLINUX_COPY 2
+#define LINUX_TIOCLINUX_PASTE 3
+#define LINUX_TIOCLINUX_UNBLANK 4
+#define LINUX_TIOCLINUX_LOADLUT 5
+#define LINUX_TIOCLINUX_READSHIFT 6
+#define LINUX_TIOCLINUX_READMOUSE 7
+#define LINUX_TIOCLINUX_VESABLANK 10
+#define LINUX_TIOCLINUX_KERNMSG 11
+#define LINUX_TIOCLINUX_CURCONS 12