[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0608021501420.4168@g5.osdl.org>
Date: Wed, 2 Aug 2006 15:04:44 -0700 (PDT)
From: Linus Torvalds <torvalds@...l.org>
To: Russell King <rmk+lkml@....linux.org.uk>
cc: Dave Jones <davej@...hat.com>, "Rafael J. Wysocki" <rjw@...k.pl>,
Jesse Brandeburg <jesse.brandeburg@...il.com>,
Andrew Morton <akpm@...l.org>, stern@...land.harvard.edu,
linux-kernel@...r.kernel.org, cpufreq@....linux.org.uk
Subject: Re: Linux v2.6.18-rc3
On Wed, 2 Aug 2006, Russell King wrote:
>
> > The serial layer should use set_termios() when users set the termios state
> > (surprise surprise), not to emulate suspend/restore.
>
> Yes Linus, you're obviously right. Would you mind re-engineering this
> while I'm away for the next few days. For _ALL_ serial drivers, not
> just 8250. Thanks.
The problem is that right now, the silly set_termios() call can be
actively detrimental to sub-drivers that do this right.
I suspect it would be a lot better to just fix a few major serial drivers
(and yes, that means primarily 8250), and just force others to fix
themselves as developers get around to it and care (in many cases they
might not even do so). As it is, going to set_termios way is likely to
just make things _worse_ in the long run, by just not letting the serial
driver do what's sane.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists