Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765653AbXEWUil (ORCPT ); Wed, 23 May 2007 16:38:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757308AbXEWUid (ORCPT ); Wed, 23 May 2007 16:38:33 -0400 Received: from adicia.telenet-ops.be ([195.130.132.56]:46133 "EHLO adicia.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756624AbXEWUic (ORCPT ); Wed, 23 May 2007 16:38:32 -0400 Date: Wed, 23 May 2007 22:38:21 +0200 (CEST) From: Geert Uytterhoeven To: Alan Cox Cc: Roman Zippel , Linux Kernel Development , akpm@osdl.org, rmk@arm.linux.kernel.org, spyro@f2s.com, starvik@axis.com, ysato@users.sourceforge.jp, "Luck, Tony" , takata@linux-m32r.org, chris@zankel.net, uclinux-v850@lsi.nec.co.jp, kyle@parisc-linux.org, linux-mips@linux-mips.org Subject: Re: [PATCH] m68k: Enable arbitary speed tty support In-Reply-To: <20070523205645.07b03581@the-village.bc.nu> Message-ID: References: <20070523174446.37abfa7a@the-village.bc.nu> <20070523205645.07b03581@the-village.bc.nu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 34 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/