aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-11-28 19:21:28 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-29 12:24:52 -0500
commit3ac40b9b5e62528d407e0e780b65c21c0247bc7c (patch)
treed5c89dc4ecad4943e67c1731a8131e3ebf3b9255 /Documentation
parent05a462afe80553550bc77afc724ce60b42ad587e (diff)
termios: document callback more clearly
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/tty.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/tty.txt b/Documentation/tty.txt
index 048a8762cfb5..8e65c4498c52 100644
--- a/Documentation/tty.txt
+++ b/Documentation/tty.txt
@@ -132,6 +132,14 @@ set_termios() Notify the tty driver that the device's termios
132 tty->termios. Previous settings should be passed in 132 tty->termios. Previous settings should be passed in
133 the "old" argument. 133 the "old" argument.
134 134
135 The API is defined such that the driver should return
136 the actual modes selected. This means that the
137 driver function is responsible for modifying any
138 bits in the request it cannot fulfill to indicate
139 the actual modes being used. A device with no
140 hardware capability for change (eg a USB dongle or
141 virtual port) can provide NULL for this method.
142
135throttle() Notify the tty driver that input buffers for the 143throttle() Notify the tty driver that input buffers for the
136 line discipline are close to full, and it should 144 line discipline are close to full, and it should
137 somehow signal that no more characters should be 145 somehow signal that no more characters should be