X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Documentation%2Ftty.txt;fp=Documentation%2Ftty.txt;h=8ff7bc2a08113223e783fb57a03ec494d5e84053;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=dab56604745df3d8eaefb9daa9b978befbe3aa1c;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/Documentation/tty.txt b/Documentation/tty.txt index dab566047..8ff7bc2a0 100644 --- a/Documentation/tty.txt +++ b/Documentation/tty.txt @@ -80,6 +80,13 @@ receive_buf() - Hand buffers of bytes from the driver to the ldisc for processing. Semantics currently rather mysterious 8( +receive_room() - Can be called by the driver layer at any time when + the ldisc is opened. The ldisc must be able to + handle the reported amount of data at that instant. + Synchronization between active receive_buf and + receive_room calls is down to the driver not the + ldisc. Must not sleep. + write_wakeup() - May be called at any point between open and close. The TTY_DO_WRITE_WAKEUP flag indicates if a call is needed but always races versus calls. Thus the