lkml.org 
[lkml]   [2004]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Serial driver hangs
On Tue, Sep 28, 2004 at 04:10:31PM -0500, Paul Fulghum wrote:
> On Tue, 2004-09-28 at 10:34, Roland Caßebohm wrote:
> > I have tried just to read all byte left in the FIFO of the
> > UART in that case and throw them away.
>
> In my opinion, this is the correct way to handle the problem.
> This is what I do in the SyncLink drivers.

Some 16x50 ports (most of the ones higher than 16550A) have auto flow
control, so if this is enabled you really don't want to drop bytes in
the FIFO on the floor.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans