Re: serial flow control appears broken
From: Paul Fulghum
Date: Fri Jul 27 2007 - 14:46:44 EST
On Fri, 2007-07-27 at 12:22 -0600, Robert Hancock wrote:
> Maciej W. Rozycki wrote:
> > The TTY line discipline driver could do that based on the amount of
> > received data present in its buffer. And it should if asked to (a brief
> > look at drivers/char/n_tty.c reveals it does; obviously there may be a bug
>
> Really, where? In my look through the code I haven't found any mechanism
> that would result in RTS being lowered based on TTY buffers filling up,
> at least not in the 8250 case.
serial_core.c:uart_throttle()
serial_core.c:uart_unthrottle()
These are called by N_TTY in response to buffer levels.
--
Paul Fulghum
Microgate Systems, Ltd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/