Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: ABI: sysfs-tty: close times are in centiseconds

The times for close_delay and closing_wait are in centiseconds, not
milliseconds. Fix the documentation and add details of special values.

Signed-off-by: Simon Arlott <simon@octiron.net>
Link: https://lore.kernel.org/r/30fa035a-709f-58cd-fc1e-fef1367dc6dd@0882a8b5-c6c3-11e9-b005-00805fc181fe.uuid.home.arpa
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Simon Arlott and committed by
Greg Kroah-Hartman
d8a5c0d6 4e8da86f

+9 -6
+9 -6
Documentation/ABI/testing/sysfs-tty
··· 87 87 Date: October 2012 88 88 Contact: Alan Cox <alan@linux.intel.com> 89 89 Description: 90 - Show the closing delay time for this port in ms. 90 + Show the closing delay time for this port in centiseconds. 91 91 92 - These sysfs values expose the TIOCGSERIAL interface via 93 - sysfs rather than via ioctls. 92 + These sysfs values expose the TIOCGSERIAL interface via 93 + sysfs rather than via ioctls. 94 94 95 95 What: /sys/class/tty/ttyS<x>/closing_wait 96 96 Date: October 2012 97 97 Contact: Alan Cox <alan@linux.intel.com> 98 98 Description: 99 - Show the close wait time for this port in ms. 99 + Show the close wait time for this port in centiseconds. 100 100 101 - These sysfs values expose the TIOCGSERIAL interface via 102 - sysfs rather than via ioctls. 101 + Waiting forever is represented as 0. If waiting on close is 102 + disabled then the value is 65535. 103 + 104 + These sysfs values expose the TIOCGSERIAL interface via 105 + sysfs rather than via ioctls. 103 106 104 107 What: /sys/class/tty/ttyS<x>/custom_divisor 105 108 Date: October 2012