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

2012-09-24 Thread Alan Cox
On Mon, 24 Sep 2012 08:39:44 +0200 Christophe Leroy 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

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

2012-09-24 Thread Christophe Leroy
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

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

2012-09-24 Thread Christophe Leroy
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

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

2012-09-24 Thread Alan Cox
On Mon, 24 Sep 2012 08:39:44 +0200 Christophe Leroy christophe.le...@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