linux-mips
[Top] [All Lists]

Re: [PATCH] m68k: Enable arbitary speed tty support

To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [PATCH] m68k: Enable arbitary speed tty support
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Wed, 23 May 2007 22:38:21 +0200 (CEST)
Cc: Roman Zippel <zippel@linux-m68k.org>, Linux Kernel Development <linux-kernel@vger.kernel.org>, akpm@osdl.org, rmk@arm.linux.kernel.org, spyro@f2s.com, starvik@axis.com, ysato@users.sourceforge.jp, "Luck, Tony" <tony.luck@intel.com>, takata@linux-m32r.org, chris@zankel.net, uclinux-v850@lsi.nec.co.jp, kyle@parisc-linux.org, linux-mips@linux-mips.org
In-reply-to: <20070523205645.07b03581@the-village.bc.nu>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070523174446.37abfa7a@the-village.bc.nu> <Pine.LNX.4.64.0705232117260.10610@anakin> <20070523205645.07b03581@the-village.bc.nu>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 23 May 2007, Alan Cox wrote:
> > > +#define TCSETS2          _IOW('T',0x2B, struct termios2)
> > > +#define TCSETSW2 _IOW('T',0x2C, struct termios2)
> > > +#define TCSETSF2 _IOW('T',0x2D, struct termios2)
> > 
> > Where is `struct termios2' defined? Right now it doesn't compile because
> > of that.
> > 
> 
> Sorry, shortage of qualified gnomes: One of them forgot to post this diff 
> first
> 
> Add the termios2 structure ready for enabling on most platforms. One or two 
> like
> Sparc are plain weird so have been left alone. Most can use the same 
> structure as
> ktermios for termios2 (ie the newer ioctl uses the structure matching the 
> current
> kernel structure)

Why not `#define termios2 ktermios' (or vice versa) on platforms where
they are the same?

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds

<Prev in Thread] Current Thread [Next in Thread>