diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst index 1dde9692075c3a4de58a4230b29af5439013c76b..cf39b8f9d0f92b9c5c47dd69b0ffcb52d321167a 100644 --- a/Documentation/driver-api/index.rst +++ b/Documentation/driver-api/index.rst @@ -88,6 +88,7 @@ available subsections can be seen below. pti_intel_mid pwm rfkill + serial/index sgi-ioc4 sm501 smsc_ece1099 diff --git a/Documentation/serial/cyclades_z.rst b/Documentation/driver-api/serial/cyclades_z.rst similarity index 100% rename from Documentation/serial/cyclades_z.rst rename to Documentation/driver-api/serial/cyclades_z.rst diff --git a/Documentation/serial/driver.rst b/Documentation/driver-api/serial/driver.rst similarity index 99% rename from Documentation/serial/driver.rst rename to Documentation/driver-api/serial/driver.rst index 4537119bf6240bd494e2a92013a907b2ff7424b9..31bd4e16fb1f2fec7e2e65fd6c0827c7b49a09a8 100644 --- a/Documentation/serial/driver.rst +++ b/Documentation/driver-api/serial/driver.rst @@ -311,7 +311,7 @@ hardware. This call must not sleep set_ldisc(port,termios) - Notifier for discipline change. See Documentation/serial/tty.rst. + Notifier for discipline change. See Documentation/driver-api/serial/tty.rst. Locking: caller holds tty_port->mutex diff --git a/Documentation/serial/index.rst b/Documentation/driver-api/serial/index.rst similarity index 90% rename from Documentation/serial/index.rst rename to Documentation/driver-api/serial/index.rst index d0ba22ea23bfb9f30a76d590f5ce886b8059ef62..33ad10d05b26501828c8f520e8ea43dbf606cca5 100644 --- a/Documentation/serial/index.rst +++ b/Documentation/driver-api/serial/index.rst @@ -1,4 +1,4 @@ -:orphan: +.. SPDX-License-Identifier: GPL-2.0 ========================== Support for Serial devices diff --git a/Documentation/serial/moxa-smartio.rst b/Documentation/driver-api/serial/moxa-smartio.rst similarity index 100% rename from Documentation/serial/moxa-smartio.rst rename to Documentation/driver-api/serial/moxa-smartio.rst diff --git a/Documentation/serial/n_gsm.rst b/Documentation/driver-api/serial/n_gsm.rst similarity index 100% rename from Documentation/serial/n_gsm.rst rename to Documentation/driver-api/serial/n_gsm.rst diff --git a/Documentation/serial/rocket.rst b/Documentation/driver-api/serial/rocket.rst similarity index 100% rename from Documentation/serial/rocket.rst rename to Documentation/driver-api/serial/rocket.rst diff --git a/Documentation/serial/serial-iso7816.rst b/Documentation/driver-api/serial/serial-iso7816.rst similarity index 100% rename from Documentation/serial/serial-iso7816.rst rename to Documentation/driver-api/serial/serial-iso7816.rst diff --git a/Documentation/serial/serial-rs485.rst b/Documentation/driver-api/serial/serial-rs485.rst similarity index 100% rename from Documentation/serial/serial-rs485.rst rename to Documentation/driver-api/serial/serial-rs485.rst diff --git a/Documentation/serial/tty.rst b/Documentation/driver-api/serial/tty.rst similarity index 100% rename from Documentation/serial/tty.rst rename to Documentation/driver-api/serial/tty.rst diff --git a/MAINTAINERS b/MAINTAINERS index d1a0a817dd9214af523d2a84605f725f97e24bca..4f88bca37c557e101072322eb5abb83a2412a4d9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10767,7 +10767,7 @@ F: include/uapi/linux/meye.h MOXA SMARTIO/INDUSTIO/INTELLIO SERIAL CARD M: Jiri Slaby <jirislaby@gmail.com> S: Maintained -F: Documentation/serial/moxa-smartio.rst +F: Documentation/driver-api/serial/moxa-smartio.rst F: drivers/tty/mxser.* MR800 AVERMEDIA USB FM RADIO DRIVER @@ -13689,7 +13689,7 @@ ROCKETPORT DRIVER P: Comtrol Corp. W: http://www.comtrol.com S: Maintained -F: Documentation/serial/rocket.rst +F: Documentation/driver-api/serial/rocket.rst F: drivers/tty/rocket* ROCKETPORT EXPRESS/INFINITY DRIVER @@ -16228,7 +16228,7 @@ M: Greg Kroah-Hartman <gregkh@linuxfoundation.org> M: Jiri Slaby <jslaby@suse.com> S: Supported T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git -F: Documentation/serial/ +F: Documentation/driver-api/serial/ F: drivers/tty/ F: drivers/tty/serial/serial_core.c F: include/linux/serial_core.h diff --git a/drivers/tty/Kconfig b/drivers/tty/Kconfig index ee51b95142253a3a8d61c4543d3799ad4a010bc5..c7623f99ac0fb0374d1987dafde909786cc6a450 100644 --- a/drivers/tty/Kconfig +++ b/drivers/tty/Kconfig @@ -175,7 +175,7 @@ config ROCKETPORT This driver supports Comtrol RocketPort and RocketModem PCI boards. These boards provide 2, 4, 8, 16, or 32 high-speed serial ports or modems. For information about the RocketPort/RocketModem boards - and this driver read <file:Documentation/serial/rocket.rst>. + and this driver read <file:Documentation/driver-api/serial/rocket.rst>. To compile this driver as a module, choose M here: the module will be called rocket. @@ -193,7 +193,7 @@ config CYCLADES your Linux box, for instance in order to become a dial-in server. For information about the Cyclades-Z card, read - <file:Documentation/serial/cyclades_z.rst>. + <file:Documentation/driver-api/serial/cyclades_z.rst>. To compile this driver as a module, choose M here: the module will be called cyclades. diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 6e3c66ab0e626bb322cdc2f3dfe35b7233b8ec7c..a0555ae2b1ef44df2e471418331a5b90d0746964 100644 --- a/drivers/tty/serial/ucc_uart.c +++ b/drivers/tty/serial/ucc_uart.c @@ -1081,7 +1081,7 @@ static int qe_uart_verify_port(struct uart_port *port, } /* UART operations * - * Details on these functions can be found in Documentation/serial/driver.rst + * Details on these functions can be found in Documentation/driver-api/serial/driver.rst */ static const struct uart_ops qe_uart_pops = { .tx_empty = qe_uart_tx_empty, diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 05b179015d6cd17d0693094a27a96ec55960379a..2b78cc734719a32b5c864f538bfb6ee12314d27c 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -32,7 +32,7 @@ struct device; /* * This structure describes all the operations that can be done on the - * physical hardware. See Documentation/serial/driver.rst for details. + * physical hardware. See Documentation/driver-api/serial/driver.rst for details. */ struct uart_ops { unsigned int (*tx_empty)(struct uart_port *);