From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: [PATCH] Powerpc 8xx CPM_UART setting MAXIDL register proportionaly to baud rate Date: Mon, 24 Sep 2012 14:21:10 +0100 Message-ID: <20120924142110.4a07a225@bob.linux.org.uk> References: <201209240639.q8O6di6f029596@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com ([143.182.124.21]:35688 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754285Ab2IXNTs (ORCPT ); Mon, 24 Sep 2012 09:19:48 -0400 In-Reply-To: <201209240639.q8O6di6f029596@localhost.localdomain> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Christophe Leroy Cc: Vitaly Bordug , Marcelo Tosatti , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, linuxppc-dev@lists.ozlabs.org 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 it gives a timeout of 4 characters, which is > the timeout on the 8250 UART. > > Signed-off-by: Christophe Leroy Looks good tome - series Acked-by: Alan Cox