serial: doc: Document .throttle()

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Geert Uytterhoeven 2016-03-14 16:16:11 +01:00 committed by Jonathan Corbet
parent 4895b1d721
commit 39c5144e5f
1 changed files with 7 additions and 0 deletions

View File

@ -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