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 -- [EMAIL PROTECTED] 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/