diff options
author | Werner Fink <werner@suse.de> | 2010-12-03 06:48:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 19:18:28 -0500 |
commit | b7b8de087384cc1954a8cd075af3f9e5977caa2e (patch) | |
tree | e362fe2c886c610caa9bd45fead9c4ae4789529e /include/asm-generic/ioctls.h | |
parent | fbc92a3455577ab17615cbcb91826399061bd789 (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 'include/asm-generic/ioctls.h')
-rw-r--r-- | include/asm-generic/ioctls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/ioctls.h b/include/asm-generic/ioctls.h index a3216655d657..3f3f2d189fb8 100644 --- a/include/asm-generic/ioctls.h +++ b/include/asm-generic/ioctls.h | |||
@@ -67,6 +67,7 @@ | |||
67 | #endif | 67 | #endif |
68 | #define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ | 68 | #define TIOCGPTN _IOR('T', 0x30, unsigned int) /* Get Pty Number (of pty-mux device) */ |
69 | #define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */ | 69 | #define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */ |
70 | #define TIOCGDEV _IOR('T', 0x32, unsigned int) /* Get primary device node of /dev/console */ | ||
70 | #define TCGETX 0x5432 /* SYS5 TCGETX compatibility */ | 71 | #define TCGETX 0x5432 /* SYS5 TCGETX compatibility */ |
71 | #define TCSETX 0x5433 | 72 | #define TCSETX 0x5433 |
72 | #define TCSETXF 0x5434 | 73 | #define TCSETXF 0x5434 |