Documentation: move tty to driver-api
Based on discussion starting as 87mthw2o93.fsf@meer.lwn.net, let's move the tty documentation to driver-api. It's more appropriate there. Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20220411110143.10019-2-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ce522ba9ef
commit
b96cd8b05e
|
@ -101,6 +101,7 @@ available subsections can be seen below.
|
||||||
surface_aggregator/index
|
surface_aggregator/index
|
||||||
switchtec
|
switchtec
|
||||||
sync_file
|
sync_file
|
||||||
|
tty
|
||||||
vfio-mediated-device
|
vfio-mediated-device
|
||||||
vfio
|
vfio
|
||||||
vfio-pci-device-specific-driver-acceptance
|
vfio-pci-device-specific-driver-acceptance
|
||||||
|
|
|
@ -311,7 +311,7 @@ hardware.
|
||||||
This call must not sleep
|
This call must not sleep
|
||||||
|
|
||||||
set_ldisc(port,termios)
|
set_ldisc(port,termios)
|
||||||
Notifier for discipline change. See Documentation/tty/tty_ldisc.rst.
|
Notifier for discipline change. See ../tty/tty_ldisc.rst.
|
||||||
|
|
||||||
Locking: caller holds tty_port->mutex
|
Locking: caller holds tty_port->mutex
|
||||||
|
|
||||||
|
|
|
@ -43,11 +43,10 @@ Writing TTY Driver
|
||||||
==================
|
==================
|
||||||
|
|
||||||
Before one starts writing a TTY driver, they must consider
|
Before one starts writing a TTY driver, they must consider
|
||||||
:doc:`Serial <../driver-api/serial/driver>` and :doc:`USB Serial
|
:doc:`Serial <../serial/driver>` and :doc:`USB Serial <../../usb/usb-serial>`
|
||||||
<../usb/usb-serial>` layers
|
layers first. Drivers for serial devices can often use one of these specific
|
||||||
first. Drivers for serial devices can often use one of these specific layers to
|
layers to implement a serial driver. Only special devices should be handled
|
||||||
implement a serial driver. Only special devices should be handled directly by
|
directly by the TTY Layer. If you are about to write such a driver, read on.
|
||||||
the TTY Layer. If you are about to write such a driver, read on.
|
|
||||||
|
|
||||||
A *typical* sequence a TTY driver performs is as follows:
|
A *typical* sequence a TTY driver performs is as follows:
|
||||||
|
|
|
@ -137,7 +137,6 @@ needed).
|
||||||
misc-devices/index
|
misc-devices/index
|
||||||
scheduler/index
|
scheduler/index
|
||||||
mhi/index
|
mhi/index
|
||||||
tty/index
|
|
||||||
peci/index
|
peci/index
|
||||||
|
|
||||||
Architecture-agnostic documentation
|
Architecture-agnostic documentation
|
||||||
|
|
Loading…
Reference in New Issue