X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Documentation%2Ftty.txt;h=8ff7bc2a08113223e783fb57a03ec494d5e84053;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=dab56604745df3d8eaefb9daa9b978befbe3aa1c;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;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