[Top] [All Lists]

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

To: Alan Cox <>
Subject: Re: [PATCH] m68k: Enable arbitary speed tty support
From: Geert Uytterhoeven <>
Date: Wed, 23 May 2007 22:38:21 +0200 (CEST)
Cc: Roman Zippel <>, Linux Kernel Development <>,,,,,, "Luck, Tony" <>,,,,,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <Pine.LNX.4.64.0705232117260.10610@anakin> <>
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?



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

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>