lkml.org 
[lkml]   [2006]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Bisects that are neither good nor bad
On Fri, Jun 09, 2006 at 10:38:33AM +0200, Pavel Machek wrote:
> > The serial layer does _not_ have access to the "current" termios
> > settings due to the layering by the tty subsystem. If the serial
> > port being used by serial console has been opened once by the user,
> > but is closed at the moment when a suspend/resume cycle occurs,
> > the serial layer and lower level drivers do not have access to the
> > baud rate.
>
> Could serial layer just cache "last baud rate" in some kind of
> software shadow register? Yes, it is slightly ugly, but should do the trick.

That's not a new suggestion. How do you deal with the case where
you have console on two or more different serial ports? That's
the problem with this approach.

The only sane solution is for the tty layer to be adjusted to allow
suspend/resume support for consoles.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/

\
 
 \ /
  Last update: 2006-06-09 14:06    [W:0.059 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site