| To: | Matteo Croce <technoboy85@gmail.com> |
|---|---|
| Subject: | Re: [PATCH][MIPS][5/6]: AR7: serial hack |
| From: | tsbogend@alpha.franken.de (Thomas Bogendoerfer) |
| Date: | Tue, 18 Mar 2008 14:30:15 +0100 |
| Cc: | linux-mips@linux-mips.org, Florian Fainelli <florian@openwrt.org>, Felix Fietkau <nbd@openwrt.org>, Nicolas Thill <nico@openwrt.org>, linux-serial@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org> |
| In-reply-to: | <200803161645.06364.technoboy85@gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <200803120221.25044.technoboy85@gmail.com> <200803141646.09645.technoboy85@gmail.com> <20080315104009.GA6533@alpha.franken.de> <200803161645.06364.technoboy85@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.13 (2006-08-11) |
On Sun, Mar 16, 2008 at 04:45:06PM +0100, Matteo Croce wrote: > Il Saturday 15 March 2008 11:40:09 Thomas Bogendoerfer ha scritto: > > On Fri, Mar 14, 2008 at 04:46:09PM +0100, Matteo Croce wrote: > > > This is a bit better > > > > is it possible to try without the serial changes first ? > > > > Use > > > > uart_port[0].type = PORT_16550A; > > > > in arch/mips/ar7/platform.c. > > > > Does it work ? > > > > Tried I get teh usual broken serial output: I just checked the latest AR7/UR8 source, I have, and they don't need special hacks. This is a 2.6.10 based tree. At that time there was no serial8250_console_putchar(), console output was done via serial8250_console_write() without any helper. Before writing to the UART_TX, wait_for_xmitr() is called. And this wait_for_xmitr() does check for BOTH_EMPTY. 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 would need that and this would fix the AR7 case without any special handling. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ RFC1925, 2.3 ] |
| Previous by Date: | Re: [PATCH 1/2][MIPS] replace c0_compare acknowledge by c0_timer_ack(), Ralf Baechle |
|---|---|
| Next by Date: | Re: [PATCH][MIPS][5/6]: AR7: serial hack, Sergei Shtylyov |
| Previous by Thread: | Re: [PATCH][MIPS][5/6]: AR7: serial hack, Matteo Croce |
| Next by Thread: | Re: [PATCH][MIPS][5/6]: AR7: serial hack, Sergei Shtylyov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |