diff options
Diffstat (limited to 'Documentation/serial/driver')
-rw-r--r-- | Documentation/serial/driver | 6 |
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 | |||
59 | access to the info->tmpbuf bouncebuffer used for port writes. | 59 | access to the info->tmpbuf bouncebuffer used for port writes. |
60 | 60 | ||
61 | The port_sem semaphore is used to protect against ports being added/ | 61 | The port_sem semaphore is used to protect against ports being added/ |
62 | removed or reconfigured at inappropriate times. | 62 | removed or reconfigured at inappropriate times. Since v2.6.27, this |
63 | semaphore has been the 'mutex' member of the tty_port struct, and | ||
64 | commonly referred to as the port mutex (or port->mutex). | ||
63 | 65 | ||
64 | 66 | ||
65 | uart_ops | 67 | uart_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 | ||