patch-2.4.21 linux-2.4.21/include/asm-ppc64/ioctls.h

Next file: linux-2.4.21/include/asm-ppc64/ipc.h
Previous file: linux-2.4.21/include/asm-ppc64/io.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-ppc64/ioctls.h linux-2.4.21/include/asm-ppc64/ioctls.h
@@ -96,6 +96,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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)