From: Russell King - ARM Linux Subject: Re: [RESEND][PATCH] ARM: PL011: add support for extended FIFO-size of PL011-r1p5 Date: Fri, 19 Apr 2013 15:17:49 +0100 Message-ID: <20130419141748.GU14496@n2100.arm.linux.org.uk> References: <201304151445.25151.neidhard.kim@lge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:34852 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030473Ab3DSOSk (ORCPT ); Fri, 19 Apr 2013 10:18:40 -0400 Content-Disposition: inline In-Reply-To: <201304151445.25151.neidhard.kim@lge.com> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Jongsung Kim Cc: gregkh@linuxfoundation.org, jslaby@suse.cz, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org On Mon, Apr 15, 2013 at 02:45:25PM +0900, Jongsung Kim wrote: > The latest r1p5-revision of the ARM PL011 UART has 32-byte FIFOs, > while all earlier ones have 16-byte FIFOs. This patch suggests > a way to set the FIFO-size correctly & flexibly by using a member > function named get_fifosize, rather than using the fifosize member > variable. The function takes the UARTPeriphID, and returns the > correct FIFO size. Same comments as previous version.