]> git.pld-linux.org Git - packages/linux-libc-headers.git/blob - linux-kernel-headers.SuSE.TIOCGDEV.patch
- updated to Linux 2.6.24
[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 Temoprary solution until another solution exists.
3
4 ---
5  usr/include/asm-arm/ioctls.h     |    1 +
6  usr/include/asm-ia64/ioctls.h    |    1 +
7  usr/include/asm-parisc/ioctls.h  |    1 +
8  usr/include/asm-powerpc/ioctls.h |    1 +
9  usr/include/asm-s390/ioctls.h    |    1 +
10  usr/include/asm-x86/ioctls.h  |    1 +
11  6 files changed, 6 insertions(+)
12
13 --- a/usr/include/asm-arm/ioctls.h
14 +++ b/usr/include/asm-arm/ioctls.h
15 @@ -52,6 +52,7 @@
16  #define TCSETSF2       _IOW('T',0x2D, struct termios2)
17  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
18  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
19 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
20  
21  #define FIONCLEX       0x5450  /* these numbers need to be adjusted. */
22  #define FIOCLEX                0x5451
23 --- a/usr/include/asm-ia64/ioctls.h
24 +++ b/usr/include/asm-ia64/ioctls.h
25 @@ -55,6 +55,7 @@
26  #define TIOCGSID       0x5429  /* Return the session ID of FD */
27  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
28  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
29 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
30  
31  #define FIONCLEX       0x5450  /* these numbers need to be adjusted. */
32  #define FIOCLEX                0x5451
33 --- a/usr/include/asm-parisc/ioctls.h
34 +++ b/usr/include/asm-parisc/ioctls.h
35 @@ -48,6 +48,7 @@
36  #define TIOCGSID       _IOR('T', 20, int) /* Return the session ID of FD */
37  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
38  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
39 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
40  
41  #define FIONCLEX       0x5450  /* these numbers need to be adjusted. */
42  #define FIOCLEX                0x5451
43 --- a/usr/include/asm-powerpc/ioctls.h
44 +++ b/usr/include/asm-powerpc/ioctls.h
45 @@ -91,6 +91,7 @@
46  #define TIOCGSID       0x5429  /* Return the session ID of FD */
47  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
48  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
49 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
50  
51  #define TIOCSERCONFIG  0x5453
52  #define TIOCSERGWILD   0x5454
53 --- a/usr/include/asm-s390/ioctls.h
54 +++ b/usr/include/asm-s390/ioctls.h
55 @@ -56,6 +56,7 @@
56  #define TIOCGSID       0x5429  /* Return the session ID of FD */
57  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
58  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
59 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
60  
61  #define FIONCLEX       0x5450  /* these numbers need to be adjusted. */
62  #define FIOCLEX                0x5451
63 --- a/usr/include/asm-x86/ioctls.h
64 +++ b/usr/include/asm-x86/ioctls.h
65 @@ -52,6 +52,7 @@
66  #define TCSETSF2       _IOW('T',0x2D, struct termios2)
67  #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
68  #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
69 +#define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
70  
71  #define FIONCLEX       0x5450  /* these numbers need to be adjusted. */
72  #define FIOCLEX                0x5451
This page took 0.110819 seconds and 3 git commands to generate.