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

FoX foxcore@gmail.com
Fri Apr 27 15:24:01 2007


------=_Part_75433_27888528.1177687378368
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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 ?

-- 
Guillaume LECERF
GeeXboX developer

------=_Part_75433_27888528.1177687378368
Content-Type: text/x-diff; name="10_undefined-baudrate.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="10_undefined-baudrate.diff"
X-Attachment-Id: f_f10snf4m

LS0tIGxjZHByb2MtMC41LjIvc2VydmVyL2RyaXZlcnMvaGQ0NDc4MC1zZXJpYWwuYy5vcmlnCTIw
MDctMDQtMjcgMTc6MTk6MjUuMDAwMDAwMDAwICswMjAwCisrKyBsY2Rwcm9jLTAuNS4yL3NlcnZl
ci9kcml2ZXJzL2hkNDQ3ODAtc2VyaWFsLmMJMjAwNy0wNC0yNyAxNzoxOTo1Ni4wMDAwMDAwMDAg
KzAyMDAKQEAgLTY2LDggKzY2LDEwIEBACiAJeyAxOTIwMCwgQjE5MjAwIH0sCiAJeyAzODQwMCwg
QjM4NDAwIH0sCiAJeyA1NzYwMCwgQjU3NjAwIH0sCi0JeyAxMTUyMDAsIEIxMTUyMDAgfSwKLQl7
IDIzMDQwMCwgQjIzMDQwMCB9CisJeyAxMTUyMDAsIEIxMTUyMDAgfQorI2lmIGRlZmluZWQoQjIz
MDQwMCkKKwksIHsgMjMwNDAwLCBCMjMwNDAwIH0KKyNlbmRpZgogI2lmIGRlZmluZWQoQjQ2MDgw
MCkJCiAJLCB7IDQ2MDgwMCwgQjQ2MDgwMCB9CiAjZW5kaWYK
------=_Part_75433_27888528.1177687378368--