summaryrefslogtreecommitdiff
path: root/Documentation/serial/driver
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-03-14 18:16:11 +0300
committerJonathan Corbet <corbet@lwn.net>2016-03-31 09:58:13 +0300
commit39c5144e5f0bc2dec9ebe3613d5f9c0f0b0bdc72 (patch)
treee24cfddc8d2e502c016892ba5c74c1c3e3c67e41 /Documentation/serial/driver
parent4895b1d72117efea48ff51e94a26ce3cbde4d1a1 (diff)
downloadlinux-39c5144e5f0bc2dec9ebe3613d5f9c0f0b0bdc72.tar.xz
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/driver')
-rw-r--r--Documentation/serial/driver7
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.
Interrupts: locally disabled.
This call must not sleep
+ throttle(port)
+ Notify the serial driver that input buffers for the line discipline are
+ close to full, and it should somehow signal that no more characters
+ should be sent to the serial port.
+
+ Locking: none.
+
send_xchar(port,ch)
Transmit a high priority character, even if the port is stopped.
This is used to implement XON/XOFF flow control and tcflow(). If