File linux-kernel-headers.SuSE.TIOCGDEV.patch of Package linux-kernel-headers

---
 usr/include/asm-arm/ioctls.h     |    1 +
 usr/include/asm-ia64/ioctls.h    |    1 +
 usr/include/asm-parisc/ioctls.h  |    1 +
 usr/include/asm-powerpc/ioctls.h |    1 +
 usr/include/asm-s390/ioctls.h    |    1 +
 usr/include/asm-x86/ioctls.h     |    1 +
 6 files changed, 6 insertions(+)

Index: usr/include/asm-arm/ioctls.h
===================================================================
--- usr/include/asm-arm/ioctls.h.orig
+++ usr/include/asm-arm/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, unsigned int) /* Get real dev no below /dev/console */
 
 #define FIONCLEX	0x5450  /* these numbers need to be adjusted. */
 #define FIOCLEX		0x5451
Index: usr/include/asm-ia64/ioctls.h
===================================================================
--- usr/include/asm-ia64/ioctls.h.orig
+++ usr/include/asm-ia64/ioctls.h
@@ -59,6 +59,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, unsigned int) /* Get real dev no below /dev/console */
 
 #define FIONCLEX	0x5450  /* these numbers need to be adjusted. */
 #define FIOCLEX		0x5451
Index: usr/include/asm-parisc/ioctls.h
===================================================================
--- usr/include/asm-parisc/ioctls.h.orig
+++ usr/include/asm-parisc/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, unsigned int) /* Get real dev no below /dev/console */
 
 #define FIONCLEX	0x5450  /* these numbers need to be adjusted. */
 #define FIOCLEX		0x5451
Index: usr/include/asm-powerpc/ioctls.h
===================================================================
--- usr/include/asm-powerpc/ioctls.h.orig
+++ usr/include/asm-powerpc/ioctls.h
@@ -91,6 +91,7 @@
 #define TIOCGSID	0x5429  /* Return the session ID of FD */
 #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, unsigned int) /* Get real dev no below /dev/console */
 
 #define TIOCSERCONFIG	0x5453
 #define TIOCSERGWILD	0x5454
Index: usr/include/asm-s390/ioctls.h
===================================================================
--- usr/include/asm-s390/ioctls.h.orig
+++ usr/include/asm-s390/ioctls.h
@@ -60,6 +60,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, unsigned int) /* Get real dev no below /dev/console */
 
 #define FIONCLEX	0x5450  /* these numbers need to be adjusted. */
 #define FIOCLEX		0x5451
Index: usr/include/asm-x86/ioctls.h
===================================================================
--- usr/include/asm-x86/ioctls.h.orig
+++ usr/include/asm-x86/ioctls.h
@@ -54,6 +54,8 @@
 #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, unsigned int)
+				/* Get real dev no below /dev/console */
 
 #define FIONCLEX	0x5450
 #define FIOCLEX		0x5451
openSUSE Build Service is sponsored by