|To:||Thomas Bogendoerfer <firstname.lastname@example.org>|
|Subject:||Re: [PATCH][MIPS][5/6]: AR7: serial hack|
|From:||Sergei Shtylyov <email@example.com>|
|Date:||Tue, 18 Mar 2008 16:49:58 +0300|
|Cc:||Matteo Croce <firstname.lastname@example.org>, email@example.com, Florian Fainelli <firstname.lastname@example.org>, Felix Fietkau <email@example.com>, Nicolas Thill <firstname.lastname@example.org>, email@example.com, Andrew Morton <firstname.lastname@example.org>|
|Organization:||MontaVista Software Inc.|
|References:||<email@example.com> <firstname.lastname@example.org> <20080315104009.GA6533@alpha.franken.de> <email@example.com> <20080318133015.GA7239@alpha.franken.de> <47DFC710.firstname.lastname@example.org>|
|User-agent:||Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803|
Hi, I wrote:
This is a bit better
is it possible to try without the serial changes first ?
uart_port.type = PORT_16550A;
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 viaserial8250_console_write() without any helper. Before writing to the UART_TX, wait_for_xmitr() is called. And this wait_for_xmitr() doescheck for BOTH_EMPTY.
Is there a good reason, why we don't check for BOTH_EMPTY in serial8250_console_putchar() ?
I guess transmission will be slower if you check both THRE and TSRE conditions.
... and since TX FIFO is in use, it must be even worse since you're only able to load TX FIFO in the short time slots while TX shift register is empty -- quite possibly that this condition will turn to virtually no TX FIFO as these slots my be to short. BTW, does turning off TX FIFO help?
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [PATCH][MIPS][5/6]: AR7: serial hack, Sergei Shtylyov|
|Next by Date:||Re: [PATCH][MIPS][5/6]: AR7: serial hack, Alan Cox|
|Previous by Thread:||Re: [PATCH][MIPS][5/6]: AR7: serial hack, Sergei Shtylyov|
|Next by Thread:||Re: [PATCH][MIPS][5/6]: AR7: serial hack, Alan Cox|
|Indexes:||[Date] [Thread] [Top] [All Lists]|