This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Incomplete baud rate mapping in termiostty.c
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Rainer Arndt <Arndt-ADT at kieback-peter dot de>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 30 Jan 2008 18:48:36 +0100
- Subject: Re: Incomplete baud rate mapping in termiostty.c
- References: <47A0BAE2.AB92.0010.0@kieback-peter.de>
On Wed, Jan 30, 2008 at 05:59:02PM +0100, Rainer Arndt wrote:
>
> The ecosbaud2posixbaud table in termiostty.c is incomplete. The baud
> rate entry B1800 is missing.
> I have attached a fix.
Thanks. Nice catch. I will apply it now.
> real_termios_init() is called from termios_lookup() only if the init
> flag was not set before.
> I could't found where the flag is set. I think it is missing in
> real_termios_init?
I would set it termios_lookup, inside the second if ( !priv->init ) {
code. I will fix this. Please can you test it.
Thanks
Andrew