Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux-2.6.git] / drivers / s390 / char / ctrlchar.h
blob1a53552f4981dd466a1b38d3b985d84675602e9c
1 /*
2 * Unified handling of special chars.
4 * Copyright IBM Corp. 2001
5 * Author(s): Fritz Elfert <felfert@millenux.com> <elfert@de.ibm.com>
7 */
9 #include <linux/tty.h>
11 extern unsigned int
12 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty);
15 #define CTRLCHAR_NONE (1 << 8)
16 #define CTRLCHAR_CTRL (2 << 8)
17 #define CTRLCHAR_SYSRQ (3 << 8)
19 #define CTRLCHAR_MASK (~0xffu)