Documentation: move tty to driver-api

Based on discussion starting as [email protected], let's move
the tty documentation to driver-api. It's more appropriate there.

Cc: Jonathan Corbet <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Jiri Slaby authored and Greg Kroah-Hartman committed 2022-04-14 18:24:23 +02:00
1 parent ce522ba9ef
commit b96cd8b05e
11 files changed
+6 -7

No files matched your search

+1
View File
@@ -101,6 +101,7 @@ available subsections can be seen below.
surface_aggregator/index
switchtec
sync_file
tty
vfio-mediated-device
vfio
vfio-pci-device-specific-driver-acceptance
+1 -1
View File
@@ -311,7 +311,7 @@ hardware.
This call must not sleep
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
@@ -43,11 +43,10 @@ Writing TTY Driver
==================
Before one starts writing a TTY driver, they must consider
:doc:`Serial <../driver-api/serial/driver>` and :doc:`USB Serial
<../usb/usb-serial>` layers
first. Drivers for serial devices can often use one of these specific layers to
implement a serial driver. Only special devices should be handled directly by
the TTY Layer. If you are about to write such a driver, read on.
:doc:`Serial <../serial/driver>` and :doc:`USB Serial <../../usb/usb-serial>`
layers first. Drivers for serial devices can often use one of these specific
layers to implement a serial driver. Only special devices should be handled
directly by the TTY Layer. If you are about to write such a driver, read on.
A *typical* sequence a TTY driver performs is as follows:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
-1
View File
@@ -137,7 +137,6 @@ needed).
misc-devices/index
scheduler/index
mhi/index
tty/index
peci/index
Architecture-agnostic documentation