[PATCH] 4.6 Termios Patch (PR500)

Cedric Aubert cedric_aubert at yahoo.fr
Tue Feb 17 15:05:59 UTC 2004


There is a patch to termios.c for trouble with flow control with

low performance cpu (like us).

The patch include the PR500 correction but also another trouble.

Please modify PR500 with this following patch.


Evenif you will have hardware flowcontrol enable,

you will have some overflow in interrupt mode.

Flow control can avoid

overflow of raw_inbuf but don't care of tty->buf, and

fillbufferQueue don't care about tty->buf size. Just

care about this size in fillbufferqueue avoid of

this overflow.

Disable interrupt in fillBufferQueue() before modify

tty->flow_ctrl. It could have some trouble when

you are at lowwater and if some serial interrupt come

on fill the buffer and ask to stopremotetx. They only

happend in low performance cpu.

Tested on two board and works well.

Thanks a lot


SDEL Controle Commande
rue Nungesser & Coli
44860 St Aignan de Grand Lieu

E-mail : cedric_aubert at yahoo.fr
Http : http://www.controle-commande.sdel.fr/

Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20040217/a339cd0a/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Patch_rtems-4.6.0_cpukit_libcsupport_src_termios_c.diff
URL: <http://lists.rtems.org/pipermail/users/attachments/20040217/a339cd0a/attachment.ksh>

More information about the users mailing list