diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-08-10 14:00:20 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-09-10 21:25:27 +0100 |
commit | 5a6e4e4207bc1b69dca540d759d9d176e5ce4ff1 (patch) | |
tree | 16fe9794645546810eaabdb0c812af8f450099a4 /include/asm-mips/ioctls.h | |
parent | b21010ed6498391c0f359f2a89c907533fe07fec (diff) | |
download | kernel-crypto-5a6e4e4207bc1b69dca540d759d9d176e5ce4ff1.tar.gz kernel-crypto-5a6e4e4207bc1b69dca540d759d9d176e5ce4ff1.tar.xz kernel-crypto-5a6e4e4207bc1b69dca540d759d9d176e5ce4ff1.zip |
[MIPS] tty: add the new ioctls and definitions.
Same as all the others, just put in the constants for the existing kernel
code and termios2 structure
Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/ioctls.h')
-rw-r--r-- | include/asm-mips/ioctls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/ioctls.h b/include/asm-mips/ioctls.h index 92f6c36aac4..5097cbf183a 100644 --- a/include/asm-mips/ioctls.h +++ b/include/asm-mips/ioctls.h @@ -77,6 +77,10 @@ #define TIOCSBRK 0x5427 /* BSD compatibility */ #define TIOCCBRK 0x5428 /* BSD compatibility */ #define TIOCGSID 0x7416 /* Return the session ID of FD */ +#define TCGETS2 _IOR('T',0x2A, struct termios2) +#define TCSETS2 _IOW('T',0x2B, struct termios2) +#define TCSETSW2 _IOW('T',0x2C, struct termios2) +#define TCSETSF2 _IOW('T',0x2D, struct termios2) #define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ #define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */ |