Messages in this thread | | | Subject | Re: Serial driver hangs | From | Paul Fulghum <> | Date | Tue, 28 Sep 2004 18:03:03 -0500 |
| |
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/
| |