Re: TIOCGSID problem with MIPS

ralf@uni-koblenz.de
Mon, 26 Jan 1998 01:00:16 +0100


On Sun, Jan 25, 1998 at 06:57:35PM -0500, C. Scott Ananian wrote:

> On Sun, 25 Jan 1998 ralf@uni-koblenz.de wrote:
>
> > On Thu, Jan 22, 1998 at 07:02:06PM -0500, C. Scott Ananian wrote:
> >
> > > 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.
> >
> > Indeed - but MIPS isn't yet fully integrated into Linus' kernel. I ran
> > out of time temporarily while working on that :-(
>
> The original patch was against 2.1.81-pre1; the TIOCGSID #define made it
> into 2.1.81 final.
>
> Are there historical reasons why linux-MIPS uses radically different ioctl
> numbers from those of the other linux ports? I think there's only 8
> ioctls that have the same values in linux-MIPS and linux-x86/m68k/ARM...

Most of the values are as required by the MIPS ABI. Not the best choice
looking back but it's too late ...

Ralf