]> git.pld-linux.org Git - packages/linux-libc-headers.git/blob - linux-kernel-headers.SuSE.TIOCGDEV.patch
- updated to 2.6.36
[packages/linux-libc-headers.git] / linux-kernel-headers.SuSE.TIOCGDEV.patch
1 TIOCGDEV is used to get the kernel device name behind /dev/console
2 Temporary solution until another solution exists.
3
4 --- a/linux/arch/arm/include/asm/ioctls.h
5 +++ b/linux/arch/arm/include/asm/ioctls.h
6 @@ -52,6 +52,7 @@
7  #define TCSETSF2       _IOW('T',0x2D, struct termios2)
8  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
9  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
10 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
11  #define TIOCSIG                _IOW('T',0x36, int)  /* Generate signal on Pty slave */
12  
13  #define TIOCGRS485      0x542E
14 --- a/linux/arch/ia64/include/asm/ioctls.h
15 +++ b/linux/arch/ia64/include/asm/ioctls.h
16 @@ -59,6 +59,7 @@
17  #define TCSETSF2       _IOW('T',0x2D, struct termios2)
18  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
19  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
20 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
21  #define TIOCSIG                _IOW('T',0x36, int)  /* Generate signal on Pty slave */
22  
23  #define FIONCLEX       0x5450  /* these numbers need to be adjusted. */
24 --- a/linux/arch/parisc/include/asm/ioctls.h
25 +++ b/linux/arch/parisc/include/asm/ioctls.h
26 @@ -52,6 +52,7 @@
27  #define TCSETSF2       _IOW('T',0x2D, struct termios2)
28  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
29  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
30 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
31  #define TIOCSIG                _IOW('T',0x36, int)  /* Generate signal on Pty slave */
32  
33  #define FIONCLEX       0x5450  /* these numbers need to be adjusted. */
34 --- a/linux/arch/powerpc/include/asm/ioctls.h
35 +++ b/linux/arch/powerpc/include/asm/ioctls.h
36 @@ -94,6 +94,7 @@
37  #define TIOCSRS485     0x542f
38  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
39  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
40 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
41  #define TIOCSIG                _IOW('T',0x36, int)  /* Generate signal on Pty slave */
42  
43  #define TIOCSERCONFIG  0x5453
44 --- a/linux/arch/s390/include/asm/ioctls.h
45 +++ b/linux/arch/s390/include/asm/ioctls.h
46 @@ -60,6 +60,7 @@
47  #define TCSETSF2       _IOW('T',0x2D, struct termios2)
48  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
49  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
50 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
51  #define TIOCSIG                _IOW('T',0x36, int)  /* Generate signal on Pty slave */
52  
53  #define FIONCLEX       0x5450  /* these numbers need to be adjusted. */
54 --- a/linux/arch/sparc/include/asm/ioctls.h     2007-07-08 19:32:17.000000000 -0400
55 +++ b/linux/arch/sparc/include/asm/ioctls.h     2007-08-27 14:01:21.000000000 -0400
56 @@ -15,6 +15,7 @@
57  #define TCSETS2                _IOW('T', 13, struct termios2)
58  #define TCSETSW2       _IOW('T', 14, struct termios2)
59  #define TCSETSF2       _IOW('T', 15, struct termios2)
60 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
61  
62  /* Note that all the ioctls that are not available in Linux have a 
63   * double underscore on the front to: a) avoid some programs to
64 --- a/linux/include/asm-generic/ioctls.h
65 +++ b/linux/include/asm-generic/ioctls.h
66 @@ -65,6 +65,7 @@
67  #define TIOCSRS485     0x542F
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 */
70 +#define TIOCGDEV       _IOR('T', 0x32, unsigned int) /* Get real dev no below /dev/console */
71  #define TCGETX         0x5432 /* SYS5 TCGETX compatibility */
72  #define TCSETX         0x5433
73  #define TCSETXF                0x5434
This page took 0.033656 seconds and 3 git commands to generate.