Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3252193ybd; Fri, 28 Jun 2019 05:33:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCmt3/4O19guGLkgfdCqzcd6kvRRTtXY/kGV3Vn6jjFHFocAAoLaejxFkMXUru8LQQySvB X-Received: by 2002:a65:6245:: with SMTP id q5mr8893673pgv.394.1561725214620; Fri, 28 Jun 2019 05:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561725214; cv=none; d=google.com; s=arc-20160816; b=PEOPSI+6NLlfUOY5kZ+yyky98117hw4VliHM6VoRJoBtEOa4wBf5i3//sjh/L2Pj+S M/5s9guhZIbKXJyzPuBnvXTHPSHp9fI/TzpcIP/zTm2rLw+TBsEbCmqm0eyIFYVpx3FN YP81NGQBzc1YYJ5kiUyuPAIiKHcC994Y15RcBFjgoLCMrawOzK68s5pbzWYhe9gOwvg7 ZK/zuqLA7e042rgomOetWnK5BhxYelSJmft1nf5dTObviYx3wwZF7IY6UGqlxnnrNHRg vlFknnDl5eXLUrW2eTh8xqsG2PUBCDk3yknrVueoALkMIqJZogZG9kS/fQat6v0hAmPf 0acw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W01P5QS3uRV3PL5GrkuJuIMkN8UN/CJyWU+iu5QOvQA=; b=QeclbSjyKaWncZ9Nc49gojard4caMXUE5qcmxGB5KGK76vrhV6F2ILTSY1R/ogoC+C NLVCtNL5mbakh3GPBXxlvLFzXfNXfPnAerr0qGxkctMdlVsGaJ/4n6IWLA4iEUr2wO5N ZgXNtBiL1HE3Fr0EEHEuBgJ+9B4eSC1jFFscKCEwJXqAQ3ImJN8n80ZSU0wtzJwlx2rV Ehh06hhuGDrn9NtsdUUTcZ3J3Dedj+NcElW0OAw5BG1p0BCecUiphqUlljQCBItwl5vu pnmAxfNHMlyH16JW/t37tp9sGAwN7nX6wMqomJrpxK9LDxxBDmAnk2Hhcwcze+/LosR7 asRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ByUoDHNg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si2089675pll.270.2019.06.28.05.33.16; Fri, 28 Jun 2019 05:33:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ByUoDHNg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727318AbfF1Mcn (ORCPT + 99 others); Fri, 28 Jun 2019 08:32:43 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39214 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726936AbfF1Mak (ORCPT ); Fri, 28 Jun 2019 08:30:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=W01P5QS3uRV3PL5GrkuJuIMkN8UN/CJyWU+iu5QOvQA=; b=ByUoDHNg+0H8Qs/m1RN9jnjl/g PhZlReBVQCQ3ubxdw/1nfki4i9C5SCMEmdI5EK0zLPc/vtAimnvml3RD5uzaSgL1ieLaEcBU5L9hh WqE3AvSTzrPjsXctTwJgmEkewDkOHrMYoRPGlmnopzJnnnsHviXNLdbtpRRXKJpvQdnhsO8l4K9OR zJCA5B68YSVtoweOX3wcUK7mtgCp50FtvkFedNESwqKroYKhsou4+04rIhVM4LpoXDRfFX1bLDYHP 3ujCWwkxnzB11zGX5d8rBGrRibdqgaCwlhGsiwHlbiwfAPHihY/JS6TrVuoWqHLc9mn/h1jU8QtS1 /T8MUoXA==; Received: from [186.213.242.156] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hgq1U-00055o-O0; Fri, 28 Jun 2019 12:30:36 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hgq1S-0005TR-PP; Fri, 28 Jun 2019 09:30:34 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Greg Kroah-Hartman , Jiri Slaby , Timur Tabi , linuxppc-dev@lists.ozlabs.org, linux-serial@vger.kernel.org Subject: [PATCH 32/39] docs: serial: move it to the driver-api Date: Fri, 28 Jun 2019 09:30:25 -0300 Message-Id: <98ded3b9747e187413aab3406da2d5e7c89f53cb.1561724493.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The contents of this directory is mostly driver-api stuff. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/index.rst | 1 + Documentation/{ => driver-api}/serial/cyclades_z.rst | 0 Documentation/{ => driver-api}/serial/driver.rst | 2 +- Documentation/{ => driver-api}/serial/index.rst | 2 +- Documentation/{ => driver-api}/serial/moxa-smartio.rst | 0 Documentation/{ => driver-api}/serial/n_gsm.rst | 0 Documentation/{ => driver-api}/serial/rocket.rst | 0 Documentation/{ => driver-api}/serial/serial-iso7816.rst | 0 Documentation/{ => driver-api}/serial/serial-rs485.rst | 0 Documentation/{ => driver-api}/serial/tty.rst | 0 MAINTAINERS | 6 +++--- drivers/tty/Kconfig | 4 ++-- drivers/tty/serial/ucc_uart.c | 2 +- include/linux/serial_core.h | 2 +- 14 files changed, 10 insertions(+), 9 deletions(-) rename Documentation/{ => driver-api}/serial/cyclades_z.rst (100%) rename Documentation/{ => driver-api}/serial/driver.rst (99%) rename Documentation/{ => driver-api}/serial/index.rst (90%) rename Documentation/{ => driver-api}/serial/moxa-smartio.rst (100%) rename Documentation/{ => driver-api}/serial/n_gsm.rst (100%) rename Documentation/{ => driver-api}/serial/rocket.rst (100%) rename Documentation/{ => driver-api}/serial/serial-iso7816.rst (100%) rename Documentation/{ => driver-api}/serial/serial-rs485.rst (100%) rename Documentation/{ => driver-api}/serial/tty.rst (100%) diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst index f44a3140f95d..d6f532c8d824 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 4537119bf624..31bd4e16fb1f 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 d0ba22ea23bf..33ad10d05b26 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 055db86fdd77..856db8015edd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10723,7 +10723,7 @@ F: include/uapi/linux/meye.h MOXA SMARTIO/INDUSTIO/INTELLIO SERIAL CARD M: Jiri Slaby 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 @@ -13637,7 +13637,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 @@ -16170,7 +16170,7 @@ M: Greg Kroah-Hartman M: Jiri Slaby 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 ee51b9514225..c7623f99ac0f 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 . + and this driver read . 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 - . + . 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 6e3c66ab0e62..a0555ae2b1ef 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 05b179015d6c..2b78cc734719 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 *); -- 2.21.0