Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-06-06 Thread David Woodhouse
On Mon, 2007-05-28 at 14:47 +1000, Paul Mackerras wrote: > Sure, we can add them. I suggest IBSHIFT = 16 and CIBAUD = 0xff > (or 07760 if we are going to continue the peculiar convention of > using octal for the C* constants). Signed-off-by: David Woodhouse <[EMAIL PROTECTED]> diff --gi

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-27 Thread Paul Mackerras
Alan Cox writes: > On Thu, 24 May 2007 09:45:37 -0400 > David Woodhouse <[EMAIL PROTECTED]> wrote: > > > On Thu, 2007-05-24 at 14:41 +0100, Alan Cox wrote: > > > Most people copied the x86 behaviour which makes it easy to transplant. > > > Some are just smoking something (see ioctls.h for sh-64 a

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread David Woodhouse
On Thu, 2007-05-24 at 16:05 +0100, Alan Cox wrote: > > > Likewise, I assume the lack of IBSHIFT on PowerPC is because of AIX? > > I assume nobody ever got around to it. CIBAUD is in the PowerPC System V > API supplement for example and is supported by other Power OS's. Hm... what we have in asm-

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread Alan Cox
On Thu, 24 May 2007 09:45:37 -0400 David Woodhouse <[EMAIL PROTECTED]> wrote: > On Thu, 2007-05-24 at 14:41 +0100, Alan Cox wrote: > > Most people copied the x86 behaviour which makes it easy to transplant. > > Some are just smoking something (see ioctls.h for sh-64 and weep), others > > have slig

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread David Woodhouse
On Thu, 2007-05-24 at 14:41 +0100, Alan Cox wrote: > Most people copied the x86 behaviour which makes it easy to transplant. > Some are just smoking something (see ioctls.h for sh-64 and weep), others > have slightly odd behaviour for historical compatibility reasons (Sparc) Likewise, I assume the

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread Alan Cox
On Thu, 24 May 2007 09:08:55 -0400 David Woodhouse <[EMAIL PROTECTED]> wrote: > Is my mailbox (or brain) failing me, or did you just send out these > patches for every architecture _except_ PowerPC? :) PowerPC is one of the main ones I've not touched because it needs work itself to sort out the I

Re: [PATCH] $ARCH: Enable arbitary speed tty ioctls and split input/output speed

2007-05-24 Thread David Woodhouse
Is my mailbox (or brain) failing me, or did you just send out these patches for every architecture _except_ PowerPC? :) Presumably this is because of the mess in tty_termios_encode_baud_rate when we fix its bogus assumptions about IBSHIFT always being defined? There has to be a cleaner way to do t