aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2005-01-15 11:51:45 +0000
committerRussell King <rmk@flint.arm.linux.org.uk>2005-01-15 11:51:45 +0000
commitb8ebb26656cbe2be00a318061a14c7b1c51172f6 (patch)
tree464b1a8698b499e6b88d6b8c8e8e5d8f6920218c /Documentation
parent2a388f5e5c76f774cbeaeea683d637bc53ae4d21 (diff)
downloadhistory-b8ebb26656cbe2be00a318061a14c7b1c51172f6.tar.gz
[SERIAL] Clarify documentation for set_termios and pm methods.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/serial/driver11
1 files changed, 9 insertions, 2 deletions
diff --git a/Documentation/serial/driver b/Documentation/serial/driver
index a707e5b33953b3..e9c0178cd202da 100644
--- a/Documentation/serial/driver
+++ b/Documentation/serial/driver
@@ -211,18 +211,25 @@ hardware.
Yes 1 1 character received, marked as
TTY_PARITY
+ Other flags may be used (eg, xon/xoff characters) if your
+ hardware supports hardware "soft" flow control.
+
Locking: none.
Interrupts: caller dependent.
This call must not sleep
pm(port,state,oldstate)
- perform any power management related activities on the specified
- port. state indicates the new state (defined by ACPI D0-D3),
+ Perform any power management related activities on the specified
+ port. State indicates the new state (defined by ACPI D0-D3),
oldstate indicates the previous state. Essentially, D0 means
fully on, D3 means powered down.
This function should not be used to grab any resources.
+ This will be called when the port is initially opened and finally
+ closed, except when the port is also the system console. This
+ will occur even if CONFIG_PM is not set.
+
Locking: none.
Interrupts: caller dependent.