lkml.org 
[lkml]   [2004]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Serial driver hangs
From
Date
On Tue, 2004-09-28 at 16:16, Russell King wrote:
> On Tue, Sep 28, 2004 at 04:10:31PM -0500, Paul Fulghum wrote:
> 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.

The alternative is to implement a flow control
mechanism between the flip buffer layer and
the tty drivers to (at the very least)
enable/disable receive interrupts.

Since the flip buffer implementation is probably
going to need rework anyways (eventually) along
with the other tty locking issues, this may not
be a trivial task.

Dropping the bytes is a simple, local fix that
will be more sane than the current
behavior of locking the machine.

A more optimized solution is likely to take a while.

--
Paul Fulghum
paulkf@microgate.com


-
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    [W:0.085 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site