Re: uart_ioctl OOPS with irtty-sir

Jean Tourrilhes (jt@bougret.hpl.hp.com)
Fri, 4 Apr 2003 09:24:17 -0800


On Fri, Apr 04, 2003 at 10:25:35AM +0100, Russell King wrote:
> On Thu, Apr 03, 2003 at 05:34:05PM -0800, Jean Tourrilhes wrote:
> > Unfortunately, the irtty-sir driver, which is a TTY line
> > discipline and a network driver, need to be able to change the RTS and
> > DTR line from a kernel thread.
>
> I'd prefer if we added an tty API to allow line disciplines to read/set
> the modem control lines to the tty later, rather than having line
> disciplines play games with IOCTLs.

Yes, that would look much cleaner, and it would avoid this
kind of confusion to come back again in the long term. And it would
also be slightly more efficient.

> Russell King

Thanks for the quick answer !

Jean
-
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/