diff options
-rw-r--r-- | Documentation/tty.txt | 8 |
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 | |||
135 | throttle() Notify the tty driver that input buffers for the | 143 | throttle() 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 |