]> git.pld-linux.org Git - packages/linux-libc-headers.git/blame - linux-kernel-headers.SuSE.TIOCGDEV.patch
- updated to 2.6.31.
[packages/linux-libc-headers.git] / linux-kernel-headers.SuSE.TIOCGDEV.patch
CommitLineData
de53864c 1TIOCGDEV is used to get the kernel device name behind /dev/console
7fd61803 2Temporary solution until another solution exists.
de53864c 3
7fd61803
JB
4--- a/linux/arch/arm/include/asm/ioctls.h
5+++ b/linux/arch/arm/include/asm/ioctls.h
de53864c
ER
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
12 #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
13 #define FIOCLEX 0x5451
7fd61803
JB
14--- a/linux/arch/ia64/include/asm/ioctls.h
15+++ b/linux/arch/ia64/include/asm/ioctls.h
de53864c
ER
16@@ -55,6 +55,7 @@
17 #define TIOCGSID 0x5429 /* Return the session ID of FD */
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
22 #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
23 #define FIOCLEX 0x5451
96a5ec2a
JB
24--- a/linux/arch/parisc/include/asm/ioctls.h
25+++ b/linux/arch/parisc/include/asm/ioctls.h
de53864c
ER
26@@ -48,6 +48,7 @@
27 #define TIOCGSID _IOR('T', 20, int) /* Return the session ID of FD */
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
32 #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
33 #define FIOCLEX 0x5451
7fd61803
JB
34--- a/linux/arch/powerpc/include/asm/ioctls.h
35+++ b/linux/arch/powerpc/include/asm/ioctls.h
de53864c
ER
36@@ -91,6 +91,7 @@
37 #define TIOCGSID 0x5429 /* Return the session ID of FD */
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
42 #define TIOCSERCONFIG 0x5453
43 #define TIOCSERGWILD 0x5454
7fd61803
JB
44--- a/linux/arch/s390/include/asm/ioctls.h
45+++ b/linux/arch/s390/include/asm/ioctls.h
de53864c
ER
46@@ -56,6 +56,7 @@
47 #define TIOCGSID 0x5429 /* Return the session ID of FD */
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
52 #define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
53 #define FIOCLEX 0x5451
7fd61803
JB
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
ca30feb5 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
96a5ec2a
JB
64--- a/linux/arch/x86/include/asm/ioctls.h
65+++ b/linux/arch/x86/include/asm/ioctls.h
66@@ -56,6 +56,7 @@
a9a9cea7
JB
67 #define TIOCGPTN _IOR('T', 0x30, unsigned int)
68 /* Get Pty Number (of pty-mux device) */
69 #define TIOCSPTLCK _IOW('T', 0x31, int) /* Lock/unlock Pty */
96a5ec2a
JB
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.035209 seconds and 4 git commands to generate.