git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'tc1100-wmi' into release
[sfrench/cifs-2.6.git]
/
Documentation
/
serial
/
tty.txt
diff --git
a/Documentation/serial/tty.txt
b/Documentation/serial/tty.txt
index 8e65c4498c521259d93061e0a94a2d3652eaef98..5e5349a4fcd281b2450415d7d668456aedd34b4b 100644
(file)
--- a/
Documentation/serial/tty.txt
+++ b/
Documentation/serial/tty.txt
@@
-42,7
+42,8
@@
TTY side interfaces:
open() - Called when the line discipline is attached to
the terminal. No other call into the line
discipline for this tty will occur until it
open() - Called when the line discipline is attached to
the terminal. No other call into the line
discipline for this tty will occur until it
- completes successfully. Can sleep.
+ completes successfully. Returning an error will
+ prevent the ldisc from being attached. Can sleep.
close() - This is called on a terminal when the line
discipline is being unplugged. At the point of
close() - This is called on a terminal when the line
discipline is being unplugged. At the point of
@@
-52,7
+53,7
@@
close() - This is called on a terminal when the line
hangup() - Called when the tty line is hung up.
The line discipline should cease I/O to the tty.
No further calls into the ldisc code will occur.
hangup() - Called when the tty line is hung up.
The line discipline should cease I/O to the tty.
No further calls into the ldisc code will occur.
- Can sleep.
+
The return value is ignored.
Can sleep.
write() - A process is writing data through the line
discipline. Multiple write calls are serialized
write() - A process is writing data through the line
discipline. Multiple write calls are serialized
@@
-83,6
+84,10
@@
ioctl() - Called when an ioctl is handed to the tty layer
that might be for the ldisc. Multiple ioctl calls
may occur in parallel. May sleep.
that might be for the ldisc. Multiple ioctl calls
may occur in parallel. May sleep.
+compat_ioctl() - Called when a 32 bit ioctl is handed to the tty layer
+ that might be for the ldisc. Multiple ioctl calls
+ may occur in parallel. May sleep.
+
Driver Side Interfaces:
receive_buf() - Hand buffers of bytes from the driver to the ldisc
Driver Side Interfaces:
receive_buf() - Hand buffers of bytes from the driver to the ldisc