[PATCH] Powerpc 8xx CPM_UART setting MAXIDL register proportionaly to baud rate

Alan Cox alan at linux.intel.com
Mon Sep 24 23:21:10 EST 2012


On Mon, 24 Sep 2012 08:39:44 +0200
Christophe Leroy <christophe.leroy at c-s.fr> wrote:

> MAXIDL is the timeout after which a receive buffer is closed when not
> full if no more characters are received. We calculate it from the
> baudrate so that the duration is always the same at standard rates:
> about 4ms. At 9600 bauds it gives a timeout of 4 characters, which is
> the timeout on the 8250 UART.
> 
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>

Looks good tome - series Acked-by: Alan Cox <alan at linux.intel.com>


More information about the Linuxppc-dev mailing list