diff options
author | Werner Fink <werner@suse.de> | 2010-12-03 12:48:23 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-12-16 16:18:28 -0800 |
commit | b7b8de087384cc1954a8cd075af3f9e5977caa2e (patch) | |
tree | e362fe2c886c610caa9bd45fead9c4ae4789529e /arch/parisc | |
parent | fbc92a3455577ab17615cbcb91826399061bd789 (diff) | |
download | linux-b7b8de087384cc1954a8cd075af3f9e5977caa2e.tar.gz linux-b7b8de087384cc1954a8cd075af3f9e5977caa2e.tar.bz2 linux-b7b8de087384cc1954a8cd075af3f9e5977caa2e.zip |
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/parisc')
-rw-r--r-- | arch/parisc/include/asm/ioctls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/ioctls.h b/arch/parisc/include/asm/ioctls.h index 4e0614456bea..6ba80d03623a 100644 --- a/arch/parisc/include/asm/ioctls.h +++ b/arch/parisc/include/asm/ioctls.h @@ -52,6 +52,7 @@ #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 */ +#define TIOCGDEV _IOR('T',0x32, int) /* Get primary device node of /dev/console */ #define TIOCSIG _IOW('T',0x36, int) /* Generate signal on Pty slave */ #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */ |