diff options
author | Alan Cox <alan@redhat.com> | 2007-11-07 10:24:56 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-11-07 13:14:19 +0100 |
commit | 0fc00e2440b717e19bab1ae0015f03936bdf7967 (patch) | |
tree | 4ae26ce4c71511fad3bad97384dce22a69c16bb6 /drivers/net/ariadne.h | |
parent | [PKT_SCHED] CLS_U32: Fix endianness problem with u32 classifier hash masks. (diff) | |
download | linux-0fc00e2440b717e19bab1ae0015f03936bdf7967.tar.xz linux-0fc00e2440b717e19bab1ae0015f03936bdf7967.zip |
[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/ariadne.h')
0 files changed, 0 insertions, 0 deletions