]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- updated for 2.6.36
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Oct 2010 07:50:34 +0000 (07:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel-TIOCGDEV.patch -> 1.5

kernel-TIOCGDEV.patch

index 253c963292183d9bd58dad7a1c86923fb956f958..684357734650ea95ded35684f124211520eafdc8 100644 (file)
@@ -21,93 +21,93 @@ add tty ioctl to figure physical device of the console.
 --- a/arch/alpha/include/asm/ioctls.h
 +++ b/arch/alpha/include/asm/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 TIOCSIG               _IOW('T',0x36, int)  /* Generate signal on Pty slave */
  
  #define TIOCSERCONFIG 0x5453
  #define TIOCSERGWILD  0x5454
 --- a/arch/arm/include/asm/ioctls.h
 +++ b/arch/arm/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, unsigned int) /* Get real dev no below /dev/console */
+ #define TIOCSIG               _IOW('T',0x36, int)  /* Generate signal on Pty slave */
  
  #define FIONCLEX      0x5450  /* these numbers need to be adjusted. */
  #define FIOCLEX               0x5451
 --- a/arch/ia64/include/asm/ioctls.h
 +++ b/arch/ia64/include/asm/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 TIOCSIG               _IOW('T',0x36, int)  /* Generate signal on Pty slave */
  
  #define FIONCLEX      0x5450  /* these numbers need to be adjusted. */
  #define FIOCLEX               0x5451
 --- a/arch/m68k/include/asm/ioctls.h
 +++ b/arch/m68k/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, unsigned int) /* Get real dev no below /dev/console */
+ #define TIOCSIG               _IOW('T',0x36, int)  /* Generate signal on Pty slave */
  
  #define FIONCLEX      0x5450  /* these numbers need to be adjusted. */
  #define FIOCLEX               0x5451
 --- a/arch/mips/include/asm/ioctls.h
 +++ b/arch/mips/include/asm/ioctls.h
 @@ -83,6 +83,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 TIOCSIG               _IOW('T', 0x36, int)  /* Generate signal on Pty slave */
  
  /* I hope the range from 0x5480 on is free ... */
  #define TIOCSCTTY     0x5480          /* become controlling tty */
 --- a/arch/powerpc/include/asm/ioctls.h
 +++ b/arch/powerpc/include/asm/ioctls.h
 @@ -93,6 +93,7 @@
- #define TIOCSRS485    0x542f
  #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 TIOCSIG               _IOW('T',0x36, int)  /* Generate signal on Pty slave */
  
  #define TIOCSERCONFIG 0x5453
  #define TIOCSERGWILD  0x5454
 --- a/arch/s390/include/asm/ioctls.h
 +++ b/arch/s390/include/asm/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 TIOCSIG               _IOW('T',0x36, int)  /* Generate signal on Pty slave */
  
  #define FIONCLEX      0x5450  /* these numbers need to be adjusted. */
  #define FIOCLEX               0x5451
 --- a/arch/sh/include/asm/ioctls.h
 +++ b/arch/sh/include/asm/ioctls.h
 @@ -84,6 +84,7 @@
- #define TCSETSF2      _IOW('T', 45, 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 TIOCSIG               _IOW('T',0x36, int)  /* Generate signal on Pty slave */
  
  #define TIOCSERCONFIG _IO('T', 83) /* 0x5453 */
  #define TIOCSERGWILD  _IOR('T', 84,  int) /* 0x5454 */
 --- a/arch/sparc/include/asm/ioctls.h
 +++ b/arch/sparc/include/asm/ioctls.h
-@@ -19,6 +19,7 @@
- #define TCSETS2               _IOW('T', 13, struct termios2)
- #define TCSETSW2      _IOW('T', 14, struct termios2)
- #define TCSETSF2      _IOW('T', 15, struct termios2)
+@@ -80,6 +80,7 @@
+ /* Get minor device of a pty master's FD -- Solaris equiv is ISPTM */
+ #define TIOCGPTN      _IOR('t', 134, unsigned int) /* Get Pty Number */
+ #define TIOCSPTLCK    _IOW('t', 135, int) /* Lock/unlock PTY */
 +#define TIOCGDEV      _IOR('T',0x32, unsigned int) /* Get real dev no below /dev/console */
+ #define TIOCSIG               _IOW('t', 136, int) /* Generate signal on Pty slave */
  
- /* Note that all the ioctls that are not available in Linux have a 
-  * double underscore on the front to: a) avoid some programs to
+ /* Little f */
 --- linux-2.6.34/include/asm-generic/ioctls.h~ 2010-05-17 00:17:36.000000000 +0300
 +++ linux-2.6.34/include/asm-generic/ioctls.h  2010-08-30 21:26:52.231452290 +0300
 @@ -65,6 +65,7 @@
This page took 0.061724 seconds and 4 git commands to generate.