Thread (14 messages) 14 messages, 3 authors, 2004-06-07

Re: [PATCH] Take two of the new serial uart driver.

flat view

From: Pantelis Antoniou <hidden>
Date: 2004-06-07 08:53:36

David Woodhouse wrote:
On Mon, 2004-06-07 at 11:34 +0300, Pantelis Antoniou wrote:
quoted
Hmm, just multiply by 3 in udelay instead of 2.

What is your baud rate? 9600?
Yeah. Why must we pick numbers out of the air instead of actually
waiting for the hardware to say it's finished?
Actually I didn't pick it out of thin air.

It is mentioned in the manual that you must wait
two character times for the HW fifo to drain.
There is no hardware event bit for FIFO empty.

It's just that the udelay call is not really exact.
So +1 and we're all OK! :)

So did it work now?

Regards

Pantelis


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help