From owner-svn-src-head@freebsd.org Tue Jan 23 07:15:18 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 955EDEB65D8; Tue, 23 Jan 2018 07:15:18 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6994C3C82; Tue, 23 Jan 2018 07:15:18 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0CBF224129; Tue, 23 Jan 2018 03:36:50 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0N3anWg015436; Tue, 23 Jan 2018 03:36:49 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0N3anOn015435; Tue, 23 Jan 2018 03:36:49 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201801230336.w0N3anOn015435@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Tue, 23 Jan 2018 03:36:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328273 - head/share/man/man4 X-SVN-Group: head X-SVN-Commit-Author: delphij X-SVN-Commit-Paths: head/share/man/man4 X-SVN-Commit-Revision: 328273 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jan 2018 07:15:18 -0000 Author: delphij Date: Tue Jan 23 03:36:49 2018 New Revision: 328273 URL: https://svnweb.freebsd.org/changeset/base/328273 Log: Document how to load nmdm(4) from a kernel module. Submitted by: kevlo MFC after: 2 weeks Modified: head/share/man/man4/nmdm.4 Modified: head/share/man/man4/nmdm.4 ============================================================================== --- head/share/man/man4/nmdm.4 Tue Jan 23 03:15:44 2018 (r328272) +++ head/share/man/man4/nmdm.4 Tue Jan 23 03:36:49 2018 (r328273) @@ -21,14 +21,26 @@ .\" .\" $FreeBSD$ .\" -.Dd January 27, 2005 +.Dd January 23, 2018 .Dt NMDM 4 .Os .Sh NAME .Nm nmdm .Nd nullmodem terminal driver .Sh SYNOPSIS +To compile this driver into the kernel, +place the following line in your +kernel configuration file: +.Bd -ragged -offset indent .Cd "device nmdm" +.Ed +.Pp +Alternatively, to load the driver as a +module at boot time, place the following line in +.Xr loader.conf 5 : +.Bd -literal -offset indent +nmdm_load="YES" +.Ed .Sh DESCRIPTION The .Nm