Re: [PATCH] Powerpc 8xx CPM_UART delay in receive

From
Alan Cox <hidden>
Date
2012-08-14 14:48:26
Also in
linuxppc-dev, lkml
Reply to
Christophe Leroy, 2012-08-14
On Tue, 14 Aug 2012 16:26:28 +0200
Christophe Leroy [off-list ref] wrote:
Hello,

I'm not sure who to address this Patch to either

It fixes a delay issue with CPM UART driver on Powerpc MPC8xx.
The problem is that with the actual code, the driver waits 32 IDLE patterns before returning the received data to the upper level. It means for instance about 1 second at 300 bauds.
This fix limits to one byte the waiting period.
Take a look how the 8250 does it - I think you want to set the value
based upon the data rate. Your patch will break it for everyone doing
high seed I/O.

Alan
Thread (8 messages) 8 messages, 3 authors, last reply 2012-09-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help