Is it normal for serial ports to drop characters at the end?

Dan Malek dan at netx4.com
Thu May 4 05:53:48 EST 2000


Marcus Sundberg wrote:

> Right on target.
> rs_8xx_wait_until_sent() will wait for the *first* buffer descriptor
> to be finished, instead of waiting for the last one as it should.
> This patch fixes that problem:

That's part of it, but we also need to perform a graceful shutdown
of the port so we wait until the hardware FIFOs are empty.  Waiting
for the buffer descriptor just means the CPM moved the last data
from the buffer, not that it has gone out the wire.

I thought I did this once.....but, why are you closing devices anyway :-).


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list