diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-08-10 21:00:20 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-09-10 20:25:27 (GMT) |
commit | 5a6e4e4207bc1b69dca540d759d9d176e5ce4ff1 (patch) | |
tree | 16fe9794645546810eaabdb0c812af8f450099a4 /include/asm-mips/ioctls.h | |
parent | b21010ed6498391c0f359f2a89c907533fe07fec (diff) | |
download | linux-5a6e4e4207bc1b69dca540d759d9d176e5ce4ff1.tar.xz |
[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 92f6c36..5097cbf1 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 */ |