On Tue, 14 Aug 2012 16:26:28 +0200I'm not sure I understand what you mean. As far as I can see 8250/16550 is working a bit different, as it is based on a fifo and triggers an interrupt as soon as a given number of bytes is received. I also see that in case this amount is not reached, there is a receive-timeout which goes on after no byte is received for a duration of more than 4 bytes.
Christophe Leroy <christophe.leroy@xxxxxx> wrote:
Hello,Take a look how the 8250 does it - I think you want to set the value
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.
based upon the data rate. Your patch will break it for everyone doing
high seed I/O.
Alan