TIOCGSID problem with MIPS

C. Scott Ananian (cananian@lcs.mit.edu)
Thu, 22 Jan 1998 19:02:06 -0500 (EST)


The MIPS architecture is missing an IOCTL define used in
drivers/char/tty_io.c. This is against 2.1.81. Without this patch, I do
not believe that the tty support for MIPS will compile.
--Scott
@ @
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-oOO-(_)-OOo-=-=-=-=-=
C. Scott Ananian: cananian@lcs.mit.edu / Declare the Truth boldly and
Laboratory for Computer Science/Crypto / without hindrance.
Massachusetts Institute of Technology /META-PARRESIAS AKOLUTOS:Acts 28:31
-.-. .-.. .. ..-. ..-. --- .-. -.. ... -.-. --- - - .- -. .- -. .. .- -.
PGP key available via finger and from http://www.pdos.lcs.mit.edu/~cananian

--- linux-2.1.80-clean/include/asm-mips/ioctls.h.orig Thu Jan 22 18:52:04 1998
+++ linux-2.1.80-clean/include/asm-mips/ioctls.h Thu Jan 22 18:53:07 1998
@@ -98,6 +98,7 @@
#define TIOCTTYGSTRUCT 0x5487 /* For debugging only */
#define TIOCSBRK 0x5427 /* BSD compatibility */
#define TIOCCBRK 0x5428 /* BSD compatibility */
+#define TIOCGSID 0x5429 /* Return the session ID of FD */

#define TIOCSERCONFIG 0x5488
#define TIOCSERGWILD 0x5489