aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/ioctls.h
diff options
context:
space:
mode:
authorWerner Fink <werner@suse.de>2010-12-03 06:48:23 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-16 19:18:28 -0500
commitb7b8de087384cc1954a8cd075af3f9e5977caa2e (patch)
treee362fe2c886c610caa9bd45fead9c4ae4789529e /arch/sparc/include/asm/ioctls.h
parentfbc92a3455577ab17615cbcb91826399061bd789 (diff)
TTY: Add tty ioctl to figure device node of the system console.
This has been in the SuSE kernels for a very long time. Signed-off-by: Werner Fink <werner@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/sparc/include/asm/ioctls.h')
-rw-r--r--arch/sparc/include/asm/ioctls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/ioctls.h b/arch/sparc/include/asm/ioctls.h
index 53f4ee009bd..ed3807b96bb 100644
--- a/arch/sparc/include/asm/ioctls.h
+++ b/arch/sparc/include/asm/ioctls.h
@@ -19,6 +19,7 @@
19#define TCSETS2 _IOW('T', 13, struct termios2) 19#define TCSETS2 _IOW('T', 13, struct termios2)
20#define TCSETSW2 _IOW('T', 14, struct termios2) 20#define TCSETSW2 _IOW('T', 14, struct termios2)
21#define TCSETSF2 _IOW('T', 15, struct termios2) 21#define TCSETSF2 _IOW('T', 15, struct termios2)
22#define TIOCGDEV _IOR('T',0x32, unsigned int) /* Get primary device node of /dev/console */
22 23
23/* Note that all the ioctls that are not available in Linux have a 24/* Note that all the ioctls that are not available in Linux have a
24 * double underscore on the front to: a) avoid some programs to 25 * double underscore on the front to: a) avoid some programs to