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/