Re: [PATCH 1/3]: tty - fix network driver interactions withTCGET/SET calls

From: David Miller
Date: Wed Nov 07 2007 - 04:29:19 EST


From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Nov 2007 15:33:29 +0000

> Dave Miller noted various cases where line disciplines for things like
> ppp go poking around in termios themselves in ways that broke with the
> new termios code. Rather than have them all learning about termios
> internals provide proper methods for this
>
> - tty_mode_ioctl()
>
> This handles all the terminal mode handling for speed/carrier etc
> and none of the methods are ldisc dependant so they can be called by any
> user
>
> - tty_perform_flush()
>
> This extracts the flush functionality and enables pppd the ppp
> layer to share it cleanly.
>
>
> The existing n_tty_ioctl code is refactored in this patch to provide the
> new functions and to call them itself appropriately. This patch has no
> (intended) behaviour changes and simply prepares for the other fixes.
>
> Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

Patch applied.
-
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/