[Top] [All Lists]

Re: [PATCH][MIPS][5/6]: AR7: serial hack

To: Alan Cox <>
Subject: Re: [PATCH][MIPS][5/6]: AR7: serial hack
From: (Thomas Bogendoerfer)
Date: Tue, 18 Mar 2008 16:28:39 +0100
Cc: Matteo Croce <>,, Florian Fainelli <>, Felix Fietkau <>, Nicolas Thill <>,, Andrew Morton <>
In-reply-to: <20080318140133.3d41fd87@core>
Original-recipient: rfc822;
References: <> <> <> <> <> <20080318140133.3d41fd87@core>
User-agent: Mutt/1.5.13 (2006-08-11)
On Tue, Mar 18, 2008 at 02:01:33PM +0000, Alan Cox wrote:
> > Is there a good reason, why we don't check for BOTH_EMPTY in
> > serial8250_console_putchar() ? To match the 2.6.10 behaviour we
> A very good one - we have at least 1 byte of FIFO and the serial-ethernet
> magic console devices also use that fifo emptying entirely to deduce when
> to send a new packet.

ok, now I understand.

> > would need that and this would fix the AR7 case without any
> > special handling.
> If the AR7 is an 8250 why does it need special handling? and indeed why
> does serial work on it except for console - or does that fail too.

well TI calls it a 16550A and I still wonder about the reported
problems. Looks like I need to dig a little bit deeper...


Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                                [ RFC1925, 2.3 ]

<Prev in Thread] Current Thread [Next in Thread>