[Lcdproc] [PATCH] include asm/termbits.h instead of termios.h in hd44780-serial.c

Peter Marschall peter@adpm.de
Fri Apr 27 16:17:02 2007


Hi,

On Friday, 27. April 2007 17:22, FoX wrote:
> 2007/4/27, FoX <foxcore@gmail.com>:
> > And I found the reason inside bits/termios.h from uClibc, included by
> > <termios.h> :
> >
> > #if 0 /* limited on uClibc, keep in sync w/ cfsetspeed.c */
> > #define  B230400  0010003
> > #define  B460800  0010004
> > #define  B500000  0010005
> > #define  B576000  0010006
> > #define  B921600  0010007
> > #define  B1000000 0010010
> > #define  B1152000 0010011
> > #define  B1500000 0010012
> > #define  B2000000 0010013
> > #define  B2500000 0010014
> > #define  B3000000 0010015
> > #define  B3500000 0010016
> > #define  B4000000 0010017
> > #define __MAX_BAUD B4000000
> > #else
> > #define __MAX_BAUD B115200
> > #endif
> >
> > So I think that the special geexbox case can be enlarged to every
> > uClibc crosscompilation.
>
> This simple patch solves the problem.
> Is it acceptable for being included in trunk ?

Already committed before I sent my previous mail [it was the "quick fix"] ;-)

Please note: for the time being it will only be in CVS MAIN, i.e. the 
development branch, not the stable branch.
But having released LCdproc 0.5.2 today these two branches do not differ two 
much today (so no need to worry about stability of the ;-)

It will be in tomorrow's nightly tar ball.

Regards
Peter

-- 
Peter Marschall
peter@adpm.de