diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-03-14 11:16:11 -0400 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2016-03-31 02:58:13 -0400 |
| commit | 39c5144e5f0bc2dec9ebe3613d5f9c0f0b0bdc72 (patch) | |
| tree | e24cfddc8d2e502c016892ba5c74c1c3e3c67e41 /Documentation/serial | |
| parent | 4895b1d72117efea48ff51e94a26ce3cbde4d1a1 (diff) | |
serial: doc: Document .throttle()
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/serial')
| -rw-r--r-- | Documentation/serial/driver | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/serial/driver b/Documentation/serial/driver index 61d520dea4c6..50f3d94ed50b 100644 --- a/Documentation/serial/driver +++ b/Documentation/serial/driver | |||
| @@ -126,6 +126,13 @@ hardware. | |||
| 126 | Interrupts: locally disabled. | 126 | Interrupts: locally disabled. |
| 127 | This call must not sleep | 127 | This call must not sleep |
| 128 | 128 | ||
| 129 | throttle(port) | ||
| 130 | Notify the serial driver that input buffers for the line discipline are | ||
| 131 | close to full, and it should somehow signal that no more characters | ||
| 132 | should be sent to the serial port. | ||
| 133 | |||
| 134 | Locking: none. | ||
| 135 | |||
| 129 | send_xchar(port,ch) | 136 | send_xchar(port,ch) |
| 130 | Transmit a high priority character, even if the port is stopped. | 137 | Transmit a high priority character, even if the port is stopped. |
| 131 | This is used to implement XON/XOFF flow control and tcflow(). If | 138 | This is used to implement XON/XOFF flow control and tcflow(). If |
