From 1c96f985f9dd2b5ed11d1f9fe5260e8f0f7f77f0 Mon Sep 17 00:00:00 2001 From: pluknet Date: Tue, 27 Sep 2016 19:00:22 +0000 Subject: [PATCH] MFC r274925: misc mdoc fixes. git-svn-id: svn://svn.freebsd.org/base/stable/10@306378 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/libc/sys/poll.2 | 1 - lib/libdpv/dpv.3 | 2 +- sbin/ipfw/ipfw.8 | 1 - share/man/man4/gre.4 | 2 -- share/man/man4/man4.arm/cgem.4 | 35 +++++++++++++-------------- share/man/man4/me.4 | 1 - share/man/man4/netmap.4 | 2 +- share/man/man9/get_cyclecount.9 | 1 - share/man/man9/malloc.9 | 12 ++++----- share/man/man9/sleepqueue.9 | 1 - sys/boot/common/zfsloader.8 | 3 --- sys/boot/i386/gptzfsboot/gptzfsboot.8 | 6 ++--- usr.bin/dpv/dpv.1 | 30 +++++++++++------------ 13 files changed, 42 insertions(+), 55 deletions(-) diff --git a/lib/libc/sys/poll.2 b/lib/libc/sys/poll.2 index a1c7ada4f..466523be8 100644 --- a/lib/libc/sys/poll.2 +++ b/lib/libc/sys/poll.2 @@ -180,7 +180,6 @@ specifies a signal mask which is set while waiting for input. When .Fn ppoll returns, the original signal mask is restored. -.Pp .Bd -literal struct timespec { time_t tv_sec; /* seconds */ diff --git a/lib/libdpv/dpv.3 b/lib/libdpv/dpv.3 index 97461eb41..54f9dc764 100644 --- a/lib/libdpv/dpv.3 +++ b/lib/libdpv/dpv.3 @@ -503,7 +503,7 @@ This does not effect .Xr Xdialog 1 , which renders the color escape sequences as plain text. See -.Do Li +.Do embedded "\\Z" sequences .Dc in diff --git a/sbin/ipfw/ipfw.8 b/sbin/ipfw/ipfw.8 index 7e6c19656..9ebd5d9e5 100644 --- a/sbin/ipfw/ipfw.8 +++ b/sbin/ipfw/ipfw.8 @@ -1597,7 +1597,6 @@ be specified as: .Pp Note that the ampersand character has a special meaning in many shells and should generally be escaped. -.Pp .El Note that the order of MAC addresses (destination first, source second) is diff --git a/share/man/man4/gre.4 b/share/man/man4/gre.4 index 15ef0ec5e..1efb0f590 100644 --- a/share/man/man4/gre.4 +++ b/share/man/man4/gre.4 @@ -91,7 +91,6 @@ Enables checksum calculation for outgoing packets. Enables use of sequence number field in the GRE header for outgoing packets. .El .Sh EXAMPLES -.Pp .Bd -literal 192.168.1.* --- Router A -------tunnel-------- Router B --- 192.168.2.* \\ / @@ -190,7 +189,6 @@ A description of GRE encapsulation can be found in RFC 2784 and RFC 2890. .An Andrey V. Elsukov Aq Mt ae@FreeBSD.org .An Heiko W.Rupp Aq Mt hwr@pilhuhn.de .Sh BUGS -.Pp The current implementation uses the key only for outgoing packets. Incoming packets with a different key or without a key will be treated as if they would belong to this interface. diff --git a/share/man/man4/man4.arm/cgem.4 b/share/man/man4/man4.arm/cgem.4 index 8af1b2ab9..01e2921b9 100644 --- a/share/man/man4/man4.arm/cgem.4 +++ b/share/man/man4/man4.arm/cgem.4 @@ -248,6 +248,23 @@ checksum offloading is enabled. Counter of frames discarded due to an incorrect UDP checksum when checksum offloading is enabled. .El +.Sh SEE ALSO +.Xr miibus 4 , +.Xr ifconfig 8 +.Rs +.%T "Zynq-7000 SoC Technical Reference Manual (Xilinx doc UG585)" +.%U http://www.xilinx.com/support/documentation/user_guides/\:ug585-Zynq-7000-TRM.pdf +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 10.0 . +.Sh AUTHORS +The +.Nm +driver and this manual page was written by +.An Thomas Skibo Aq Mt thomasskibo@yahoo.com . .Sh BUGS The GEM can perform TCP/UDP/IP checksum offloading. However, when transmit checksum offloading is enabled, the GEM generates and @@ -277,21 +294,3 @@ If the bug does not exist in other versions of this device, the work-around can be disabled by setting the dev.cgem.%d.rxhangwar .Xr sysctl 8 variable to 0. -.Pp -.Sh SEE ALSO -.Xr miibus 4 , -.Xr ifconfig 8 -.Rs -.%T "Zynq-7000 SoC Technical Reference Manual (Xilinx doc UG585)" -.%U http://www.xilinx.com/support/documentation/user_guides/\:ug585-Zynq-7000-TRM.pdf -.Re -.Sh HISTORY -The -.Nm -device driver first appeared in -.Fx 10.0 . -.Sh AUTHORS -The -.Nm -driver and this manual page was written by -.An Thomas Skibo Aq Mt thomasskibo@yahoo.com . diff --git a/share/man/man4/me.4 b/share/man/man4/me.4 index e1be5c806..668d34679 100644 --- a/share/man/man4/me.4 +++ b/share/man/man4/me.4 @@ -67,7 +67,6 @@ IP header is modified and the modifications are inserted between the so modified header and the original payload. The protocol number 55 is used for outer header. .Sh NOTES -.Pp For correct operation, the .Nm device needs a route to the decapsulating host that does not run over the tunnel, diff --git a/share/man/man4/netmap.4 b/share/man/man4/netmap.4 index 1b2dc7a23..08349bd3a 100644 --- a/share/man/man4/netmap.4 +++ b/share/man/man4/netmap.4 @@ -614,7 +614,7 @@ In the example below, "netmap:foo" is any valid netmap port name. (default) all hardware ring pairs .It NR_REG_SW_NIC "netmap:foo^" the ``host rings'', connecting to the host stack. -.It NR_RING_NIC_SW "netmap:foo+ +.It NR_RING_NIC_SW "netmap:foo+" all hardware rings and the host rings .It NR_REG_ONE_NIC "netmap:foo-i" only the i-th hardware ring pair, where the number is in diff --git a/share/man/man9/get_cyclecount.9 b/share/man/man9/get_cyclecount.9 index eabaeb1fa..04efdd5ed 100644 --- a/share/man/man9/get_cyclecount.9 +++ b/share/man/man9/get_cyclecount.9 @@ -77,7 +77,6 @@ and processors use the .Li TSC register. -.Pp The .Tn IA64 processors use the diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index 9653b5827..45a52d19c 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -208,12 +208,6 @@ one must include .In sys/types.h ) and .In sys/kernel.h . -.Sh IMPLEMENTATION NOTES -The memory allocator allocates memory in chunks that have size a power -of two for requests up to the size of a page of memory. -For larger requests, one or more pages is allocated. -While it should not be relied upon, this information may be useful for -optimizing the efficiency of memory use. .Pp Programmers should be careful not to confuse the malloc flags .Dv M_NOWAIT @@ -255,6 +249,12 @@ when holding a .Xr vnode 9 interlock, will cause a LOR (Lock Order Reversal) due to the intertwining of VM Objects and Vnodes. +.Sh IMPLEMENTATION NOTES +The memory allocator allocates memory in chunks that have size a power +of two for requests up to the size of a page of memory. +For larger requests, one or more pages is allocated. +While it should not be relied upon, this information may be useful for +optimizing the efficiency of memory use. .Sh RETURN VALUES The .Fn malloc , diff --git a/share/man/man9/sleepqueue.9 b/share/man/man9/sleepqueue.9 index 7f6269b95..46f6539c0 100644 --- a/share/man/man9/sleepqueue.9 +++ b/share/man/man9/sleepqueue.9 @@ -246,7 +246,6 @@ allows to pass additional .Fn callout_reset_sbt flags. .Pp -.Pp Once the thread is ready to suspend, one of the wait functions is called to put the current thread to sleep until it is awakened and to context switch to another thread. diff --git a/sys/boot/common/zfsloader.8 b/sys/boot/common/zfsloader.8 index 9bb74a475..fd437d939 100644 --- a/sys/boot/common/zfsloader.8 +++ b/sys/boot/common/zfsloader.8 @@ -62,7 +62,6 @@ refers to a ZFS filesystem, then will instruct kernel to use that filesystem as the root filesystem. .Sh ZFS COMMAND EXTENSIONS .Bl -tag -width Ds -compact -.Pp .It Ic lsdev Op Fl v Lists ZFS pools in addition to disks and partitions. Adding @@ -87,11 +86,9 @@ itself. .El .Sh EXAMPLES Set the default device used for loading a kernel from a ZFS filesystem: -.Pp .Bd -literal -offset indent set currdev=zfs:tank/ROOT/knowngood: .Ed -.Pp .Sh SEE ALSO .Xr gptzfsboot 8 , .Xr loader 8 , diff --git a/sys/boot/i386/gptzfsboot/gptzfsboot.8 b/sys/boot/i386/gptzfsboot/gptzfsboot.8 index 400c8c612..ffb055dbd 100644 --- a/sys/boot/i386/gptzfsboot/gptzfsboot.8 +++ b/sys/boot/i386/gptzfsboot/gptzfsboot.8 @@ -176,6 +176,9 @@ gpart bootcode -p /boot/gptzfsboot -i 1 ada0 .Sh HISTORY .Nm appeared in FreeBSD 7.3. +.Sh AUTHORS +This manual page was written by +.An Andriy Gapon Aq avg@FreeBSD.org . .Sh BUGS .Nm looks for ZFS meta-data only in MBR partitions @@ -188,6 +191,3 @@ found at the fixed offsets relative to a slice, then .Nm will recognize the partition as a part of a ZFS pool, but this is not guaranteed to happen. -.Sh AUTHORS -This manual page was written by -.An Andriy Gapon Aq avg@FreeBSD.org . diff --git a/usr.bin/dpv/dpv.1 b/usr.bin/dpv/dpv.1 index 0cf835d6f..df37b36bc 100644 --- a/usr.bin/dpv/dpv.1 +++ b/usr.bin/dpv/dpv.1 @@ -104,7 +104,7 @@ Do not use the default interface of .Xr dialog 3 , but instead spawn an instance of .Xr dialog 1 . -The path to +The path to .Xr dialog 1 is taken from the .Ev DIALOG @@ -313,7 +313,6 @@ is required. .It Pa $HOME/.dialogrc .El .Sh EXAMPLES -.Pp Simple example to show how fast .Xr yes 1 produces lines @@ -363,7 +362,18 @@ Zeroing a disk: .Bd -literal -offset indent dpv -o /dev/md42 < /dev/zero .Ed -.Pp +.Sh SEE ALSO +.Xr dialog 1 , +.Xr dialog 3 , +.Xr sh 1 , +.Xr Xdialog 1 +.Sh HISTORY +A +.Nm +utility first appeared in +.Fx 10.2 . +.Sh AUTHORS +.An Devin Teske Aq dteske@FreeBSD.org .Sh BUGS .Xr Xdialog 1 , when given both @@ -415,21 +425,9 @@ This does not effect .Xr Xdialog 1 , which renders the color escape sequences as plain text. See -.Do Li +.Do embedded "\\Z" sequences .Dc in .Xr dialog 1 for additional information. -.Sh SEE ALSO -.Xr dialog 1 , -.Xr dialog 3 , -.Xr sh 1 , -.Xr Xdialog 1 -.Sh HISTORY -A -.Nm -utility first appeared in -.Fx 10.2 . -.Sh AUTHORS -.An Devin Teske Aq dteske@FreeBSD.org -- 2.45.0