aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp_async.c
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2007-11-07 04:24:56 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-11-07 07:14:19 -0500
commit0fc00e2440b717e19bab1ae0015f03936bdf7967 (patch)
tree4ae26ce4c71511fad3bad97384dce22a69c16bb6 /drivers/net/ppp_async.c
parent543821c6f5dea5221426eaf1eac98b100249c7ac (diff)
[TTY]: Fix network driver interactions with TCGET/SET calls.
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@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp_async.c')
0 files changed, 0 insertions, 0 deletions