From: Keir Fraser Subject: Re: [PATCH] xen: more robust serial port driver Date: Tue, 28 Jul 2009 15:58:41 +0100 Message-ID: References: <200907281647.36341.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200907281647.36341.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 28/07/2009 15:47, "Christoph Egger" wrote: >> Might this be the case for the udelay(100) as >> well? > > No. This ensures, that the write takes effect before the read happens. Can a read really overtake a write in this case? Seriously? >> And what kinds of systems have these broken UARTs that half-advertise >> a broken/non-existent FIFO? > > The original ns16550 has a broken FIFO. The ns16450 has no FIFO. > There are simulators which simulate those old things instead of a ns16550a. Hm, well, okay, the actual one line core of this patch actually seems okay to me. It's all the rest I want to drop on the floor. -- Keir