From nobody Tue Dec 07 00:17:18 2021 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ED6E918D0B47 for ; Tue, 7 Dec 2021 00:17:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7LTV4YGRz3tn4; Tue, 7 Dec 2021 00:17:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7847D15D39; Tue, 7 Dec 2021 00:17:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B70HIuG007231; Tue, 7 Dec 2021 00:17:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B70HI2e007230; Tue, 7 Dec 2021 00:17:18 GMT (envelope-from git) Date: Tue, 7 Dec 2021 00:17:18 GMT Message-Id: <202112070017.1B70HI2e007230@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Ed Maste Subject: git: 95b3c32a53 - main - Update serial communication FAQ kernel output List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 95b3c32a53976e75387f21fa73368c15153b4d41 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638836238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cCczcxH7W6OVZSjmCu4uikjO7vJ4Jt9f3EVGcdLhczY=; b=vAfFdQfsUyBwl6eGfic14h6/p0h5EWBspm+SB5QqYOMaSDiZB8CQOOSaT2q5axTeKSuKtn qpAzbNewOd9qRL+2IQm8hLcXkDuD3MtPN7FtE3OgdmM2KPrZLxdVv7G45+kB82blsQvh/a 0EiCjkiorwmPrIS82SFRAPEpTengG0+V5C4RgwW2u8AgHQBZbKKa2yHXlnq1LEM3i8+ucJ 2YkS+JeXVdl8/zXXXLrzu5SX8Wn/HwVson59F1yARiVRCU1LiFszr2vGNM8KFgbNBnao3M +kF4pbnQw2sCZ7RexYqAuwZlD2iyb53Np8YZZun9G/jUgKIbpmN1K3waW/+EpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638836238; a=rsa-sha256; cv=none; b=gtmc4ZRFeu7qkRmKnmQW8aIhLPNkyKt13DOU7Vigmp19TTUrB9SekvuHFhEtobg/OOAac0 TDiA+d2rOKf457GypT8ft8jXH2iCxFF0C8z8edi8Qpwjlg/26Nq+QOHpo507Bo0hP4MnRG vCYr7b3QlYeUbSZm4imp5GHYUQVKrni1qKOTI1mC3ijWOBeUuE95NhRAkj673LTsmeD086 GLe6oXzk6XDZWuaeBIEzPjC0SIqulzkq6oWDRydsVNvI/kF+K562mVb6s6vw8Np2lmjAo8 7bGc4pD6OxTXW7ZSsxP91M9hasBPFQeRrjRdLz+VQL3lrR33CBZbrl6oAy3npA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/doc/commit/?id=95b3c32a53976e75387f21fa73368c15153b4d41 commit 95b3c32a53976e75387f21fa73368c15153b4d41 Author: Ed Maste AuthorDate: 2021-12-03 19:40:54 +0000 Commit: Ed Maste CommitDate: 2021-12-07 00:11:42 +0000 Update serial communication FAQ kernel output Serial ports use the uart driver now instead of sio. Original version by by Arshan Khanifar. Approved by: ygy (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D13961 --- documentation/content/en/books/faq/_index.adoc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/documentation/content/en/books/faq/_index.adoc b/documentation/content/en/books/faq/_index.adoc index e0b8ad66fc..e940359559 100644 --- a/documentation/content/en/books/faq/_index.adoc +++ b/documentation/content/en/books/faq/_index.adoc @@ -2639,14 +2639,13 @@ Either watch the boot messages closely or run this command after the system is u [source,shell] .... % grep -E '^(sio|uart)[0-9]' < /var/run/dmesg.boot -sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 -sio0: type 16550A -sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 -sio1: type 16550A +uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 +uart0: console (115200,n,8,1) +uart1: <16550 or compatible> port 0x2f8-2x3ff irq 3 on acpi0 .... This example shows two serial ports. -The first is on IRQ4, port address `0x3f8`, and has a 16550A-type UART chip. +The first is on IRQ4, port address `0x3f8`, and has a 16550-type UART chip. The second uses the same kind of chip but is on IRQ3 and is at port address `0x2f8`. Internal modem cards are treated just like serial ports, except that they always have a modem attached to the port.