aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/serial/driver
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/serial/driver')
-rw-r--r--Documentation/serial/driver6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/serial/driver b/Documentation/serial/driver
index ba64e4b892e9..c415b0ef4493 100644
--- a/Documentation/serial/driver
+++ b/Documentation/serial/driver
@@ -59,7 +59,9 @@ The core driver uses the info->tmpbuf_sem lock to prevent multi-threaded
59access to the info->tmpbuf bouncebuffer used for port writes. 59access to the info->tmpbuf bouncebuffer used for port writes.
60 60
61The port_sem semaphore is used to protect against ports being added/ 61The port_sem semaphore is used to protect against ports being added/
62removed or reconfigured at inappropriate times. 62removed or reconfigured at inappropriate times. Since v2.6.27, this
63semaphore has been the 'mutex' member of the tty_port struct, and
64commonly referred to as the port mutex (or port->mutex).
63 65
64 66
65uart_ops 67uart_ops
@@ -248,7 +250,7 @@ hardware.
248 Other flags may be used (eg, xon/xoff characters) if your 250 Other flags may be used (eg, xon/xoff characters) if your
249 hardware supports hardware "soft" flow control. 251 hardware supports hardware "soft" flow control.
250 252
251 Locking: none. 253 Locking: caller holds port->mutex
252 Interrupts: caller dependent. 254 Interrupts: caller dependent.
253 This call must not sleep 255 This call must not sleep
254 256