[Midnightbsd-cvs] src [11732] trunk/share/man/man4: update more man pages

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Jul 9 19:25:54 EDT 2018


Revision: 11732
          http://svnweb.midnightbsd.org/src/?rev=11732
Author:   laffer1
Date:     2018-07-09 19:25:53 -0400 (Mon, 09 Jul 2018)
Log Message:
-----------
update more man pages

Modified Paths:
--------------
    trunk/share/man/man4/sa.4
    trunk/share/man/man4/safe.4
    trunk/share/man/man4/sbp.4
    trunk/share/man/man4/sbp_targ.4
    trunk/share/man/man4/sbsh.4
    trunk/share/man/man4/scc.4
    trunk/share/man/man4/scd.4
    trunk/share/man/man4/sched_4bsd.4
    trunk/share/man/man4/sched_ule.4
    trunk/share/man/man4/screen.4
    trunk/share/man/man4/scsi.4
    trunk/share/man/man4/sctp.4
    trunk/share/man/man4/sdhci.4
    trunk/share/man/man4/sem.4
    trunk/share/man/man4/send.4
    trunk/share/man/man4/ses.4
    trunk/share/man/man4/sf.4
    trunk/share/man/man4/sfxge.4
    trunk/share/man/man4/sge.4
    trunk/share/man/man4/si.4
    trunk/share/man/man4/siba.4
    trunk/share/man/man4/siftr.4
    trunk/share/man/man4/siis.4
    trunk/share/man/man4/simplebus.4
    trunk/share/man/man4/sio.4
    trunk/share/man/man4/sis.4
    trunk/share/man/man4/sk.4
    trunk/share/man/man4/sl.4
    trunk/share/man/man4/smb.4
    trunk/share/man/man4/smbus.4
    trunk/share/man/man4/smp.4
    trunk/share/man/man4/sn.4
    trunk/share/man/man4/snd_ad1816.4
    trunk/share/man/man4/snd_als4000.4
    trunk/share/man/man4/snd_atiixp.4
    trunk/share/man/man4/snd_cmi.4
    trunk/share/man/man4/snd_cs4281.4
    trunk/share/man/man4/snd_csa.4
    trunk/share/man/man4/snd_ds1.4
    trunk/share/man/man4/snd_emu10k1.4
    trunk/share/man/man4/snd_emu10kx.4
    trunk/share/man/man4/snd_envy24.4
    trunk/share/man/man4/snd_envy24ht.4
    trunk/share/man/man4/snd_es137x.4
    trunk/share/man/man4/snd_ess.4
    trunk/share/man/man4/snd_fm801.4
    trunk/share/man/man4/snd_gusc.4
    trunk/share/man/man4/snd_hda.4
    trunk/share/man/man4/snd_hdspe.4
    trunk/share/man/man4/snd_ich.4
    trunk/share/man/man4/snd_maestro.4
    trunk/share/man/man4/snd_maestro3.4
    trunk/share/man/man4/snd_mss.4
    trunk/share/man/man4/snd_neomagic.4
    trunk/share/man/man4/snd_sbc.4
    trunk/share/man/man4/snd_solo.4
    trunk/share/man/man4/snd_spicds.4
    trunk/share/man/man4/snd_t4dwave.4
    trunk/share/man/man4/snd_uaudio.4
    trunk/share/man/man4/snd_via8233.4
    trunk/share/man/man4/snd_via82c686.4
    trunk/share/man/man4/snd_vibes.4
    trunk/share/man/man4/snp.4
    trunk/share/man/man4/spic.4
    trunk/share/man/man4/spkr.4
    trunk/share/man/man4/splash.4
    trunk/share/man/man4/sppp.4
    trunk/share/man/man4/ste.4
    trunk/share/man/man4/stf.4
    trunk/share/man/man4/stg.4
    trunk/share/man/man4/stge.4
    trunk/share/man/man4/sym.4
    trunk/share/man/man4/syncache.4
    trunk/share/man/man4/syncer.4
    trunk/share/man/man4/syscons.4
    trunk/share/man/man4/sysmouse.4
    trunk/share/man/man4/tap.4
    trunk/share/man/man4/targ.4
    trunk/share/man/man4/tcp.4
    trunk/share/man/man4/tdfx.4
    trunk/share/man/man4/termios.4
    trunk/share/man/man4/textdump.4
    trunk/share/man/man4/ti.4
    trunk/share/man/man4/timecounters.4
    trunk/share/man/man4/tl.4
    trunk/share/man/man4/tnt4882.4
    trunk/share/man/man4/tpm.4
    trunk/share/man/man4/trm.4
    trunk/share/man/man4/tty.4
    trunk/share/man/man4/tun.4
    trunk/share/man/man4/twa.4
    trunk/share/man/man4/twe.4
    trunk/share/man/man4/u3g.4
    trunk/share/man/man4/udav.4
    trunk/share/man/man4/udbp.4
    trunk/share/man/man4/udp.4
    trunk/share/man/man4/udplite.4
    trunk/share/man/man4/uep.4
    trunk/share/man/man4/ufoma.4
    trunk/share/man/man4/uftdi.4
    trunk/share/man/man4/ugen.4
    trunk/share/man/man4/uhci.4
    trunk/share/man/man4/uhid.4
    trunk/share/man/man4/uhso.4
    trunk/share/man/man4/uipaq.4
    trunk/share/man/man4/ukbd.4
    trunk/share/man/man4/ulpt.4
    trunk/share/man/man4/umass.4
    trunk/share/man/man4/umcs.4
    trunk/share/man/man4/umct.4
    trunk/share/man/man4/umodem.4
    trunk/share/man/man4/ums.4
    trunk/share/man/man4/unix.4
    trunk/share/man/man4/upgt.4
    trunk/share/man/man4/uplcom.4
    trunk/share/man/man4/ural.4
    trunk/share/man/man4/urio.4
    trunk/share/man/man4/urtw.4
    trunk/share/man/man4/usb.4
    trunk/share/man/man4/utopia.4
    trunk/share/man/man4/uvisor.4

Added Paths:
-----------
    trunk/share/man/man4/smsc.4
    trunk/share/man/man4/terasic_mtl.4
    trunk/share/man/man4/uled.4
    trunk/share/man/man4/urndis.4
    trunk/share/man/man4/urtwn.4
    trunk/share/man/man4/urtwnfw.4
    trunk/share/man/man4/usb_template.4

Property Changed:
----------------
    trunk/share/man/man4/twa.4

Modified: trunk/share/man/man4/sa.4
===================================================================
--- trunk/share/man/man4/sa.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sa.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1996
 .\"	Julian Elischer <julian at FreeBSD.org>.  All rights reserved.
 .\"
@@ -23,9 +24,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sa.4 317964 2017-05-08 17:55:51Z ken $
 .\"
-.Dd June 6, 1999
+.Dd May 5, 2017
 .Dt SA 4
 .Os
 .Sh NAME
@@ -159,6 +160,70 @@
 (As above, if the file mark is never read, it remains for the next
 process to read if in no-rewind mode.)
 .El
+.Sh BLOCK SIZES
+By default, the driver will NOT accept reads or writes to a tape device that
+are larger than may be written to or read from the mounted tape using a single
+write or read request.
+Because of this, the application author may have confidence that his wishes
+are respected in terms of the block size written to tape.
+For example, if the user tries to write a 256KB block to the tape, but the
+controller can handle no more than 128KB, the write will fail.
+The previous
+.Fx
+behavior, prior to
+.Fx
+10.0,
+was to break up large reads or writes into smaller blocks when going to the
+tape.
+The problem with that behavior, though, is that it hides the actual on-tape
+block size from the application writer, at least in variable block mode.
+.Pp
+If the user would like his large reads and writes broken up into separate
+pieces, he may set the following loader tunables.
+Note that these tunables WILL GO AWAY in
+.Fx 11.0 .
+They are provided for transition purposes only.
+.Bl -tag -width 12
+.It kern.cam.sa.allow_io_split
+.Pp
+This variable, when set to 1, will configure all
+.Nm
+devices to split large buffers into smaller pieces when needed.
+.It kern.cam.sa.%d.allow_io_split
+.Pp
+This variable, when set to 1, will configure the given
+.Nm
+unit to split large buffers into multiple pieces.
+This will override the global setting, if it exists.
+.El
+.Pp
+There are several
+.Xr sysctl 8
+variables available to view block handling parameters:
+.Bl -tag -width 12
+.It kern.cam.sa.%d.allow_io_split
+.Pp
+This variable allows the user to see, but not modify, the current I/O split
+setting.
+The user is not permitted to modify this setting so that there is no chance
+of behavior changing for the application while a tape is mounted.
+.It kern.cam.sa.%d.maxio
+.Pp
+This variable shows the maximum I/O size in bytes that is allowed by the
+combination of kernel tuning parameters (MAXPHYS, DFLTPHYS) and the
+capabilities of the controller that is attached to the tape drive.
+Applications may look at this value for a guide on how large an I/O may be
+permitted, but should keep in mind that the actual maximum may be
+restricted further by the tape drive via the
+.Tn SCSI
+READ BLOCK LIMITS command.
+.It kern.cam.sa.%d.cpi_maxio
+.Pp
+This variable shows the maximum I/O size supported by the controller, in
+bytes, that is reported via the CAM Path Inquiry CCB (XPT_PATH_INQ).
+If this is 0, that means that the controller has not reported a maximum I/O
+size.
+.El
 .Sh FILE MARK HANDLING
 The handling of file marks on write is automatic.
 If the user has
@@ -178,6 +243,87 @@
 block devices.
 This has not been determined yet, and they are treated
 as separate behaviors by the driver at this time.)
+.Sh PARAMETERS
+The
+.Nm
+driver supports a number of parameters.
+The user can query parameters using
+.Dq mt param -l
+(which uses the
+.Dv MTIOCPARAMGET
+ioctl) and the user can set parameters using
+.Dq mt param -s 
+(which uses the
+.Dv MTIOCPARAMSET
+ioctl).
+See
+.Xr mt 1
+and
+.Xr mtio 4
+for more details on the interface.
+.Pp
+Supported parameters:
+.Bl -tag -width 5n
+.It sili
+The default is 0.
+When set to 1, it sets the Suppress Incorrect Length Indicator (SILI) bit
+on tape reads.
+Tape drives normally return sense data (which contains the residual) when the
+application reads a block that is not the same length as the amount of data
+requested.
+The SILI bit supresses that notification in most cases.
+See the SSC-5 spec (available at t10.org), specifically the section on the
+READ(6) command, for more information.
+.It eot_warn
+The default is 0.
+By default, the
+.Nm
+driver reports entering Programmable Early Warning, Early Warning and End
+of Media conditions by returning a write with 0 bytes written, and
+.Dv errno
+set to 0.
+If 
+.Va eot_warn
+is set to 1, the
+.Nm
+driver will set
+.Dv errno
+to 
+.Dv ENOSPC
+when it enters any of the out of space conditions.
+.It protection.protection_supported
+This is a read-only parameter, and is set to 1 if the tape drive supports
+protection information.
+.It protection.prot_method
+If protection is supported, set this to the desired protection method
+supported by the tape drive.
+As of SSC-5r03 (available at t10.org), the protection method values are:
+.Bl -tag -width 3n
+.It 0
+No protection.
+.It 1
+Reed-Solomon CRC, 4 bytes in length.
+.It 2
+CRC32C, 4 bytes in length.
+.El
+.It protection.pi_length
+Length of the protection information, see above for lengths.
+.It protection.lbp_w
+If set to 1, enable logical block protection on writes.
+The CRC must be appended to the end of the block written to the tape driver.
+The tape drive will verify the CRC when it receives the block.
+.It protection.lbp_r
+If set to 1, enable logical block protection on reads.
+The CRC will be appended to the end of the block read from the tape driver.
+The application should verify the CRC when it receives the block.
+.It protection.rdbp
+If set to 1, enable logical block protection on the RECOVER BUFFERED DATA
+command.
+The
+.Nm
+driver does not currently use the
+RECOVER BUFFERED DATA command.
+.El
 .Sh IOCTLS
 The
 .Nm
@@ -198,7 +344,26 @@
 accessing the device, e.g.).
 .El
 .Sh DIAGNOSTICS
-None.
+The
+.Nm
+driver supports injecting End Of Media (EOM) notification to aid
+application development and testing.
+EOM is indicated to the application by returning the read or write with 0
+bytes written.
+In addition, when EOM is injected, the tape position status will be updated
+to temporarily show Beyond of the Programmable Early Warning (BPEW) status.
+To see BPEW status, use the
+.Dv MTIOCEXTGET
+ioctl, which is used by the 
+.Dq mt status 
+command.
+To inject an EOM notification, set the 
+.Pp
+.Va kern.cam.sa.%d.inject_eom
+.Pp
+sysctl variable to 1.
+One EOM notification will be sent, BPEW status will be set for one position
+query, and then the driver state will be reset to normal.
 .Sh SEE ALSO
 .Xr cam 4 ,
 .Xr mt 1
@@ -221,10 +386,10 @@
 by
 .An Julian Elischer .
 .Pp
-The current owner of record is
-.An Matthew Jacob
-who has suffered too many
-years of breaking tape drivers.
+The owner of record for many years was
+.An Matthew Jacob .
+The current maintainer is
+.An Kenneth Merry
 .Sh BUGS
 This driver lacks many of the hacks required to deal with older devices.
 Many older
@@ -241,7 +406,5 @@
 .Fx
 2.X.
 .Pp
-Fine grained density and compression mode support that is bound to specific
-device names needs to be added.
-.Pp
-Support for fast indexing by use of partitions is missing.
+Partitions are only supported for status information and location.
+It would be nice to add support for creating and editing tape partitions.

Modified: trunk/share/man/man4/safe.4
===================================================================
--- trunk/share/man/man4/safe.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/safe.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"-
 .\" Copyright (c) 2003	Sam Leffler, Errno Consulting
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/safe.4 157362 2006-04-01 10:56:36Z brueffer $
 .\"/
 .Dd April 1, 2006
 .Dt SAFE 4

Modified: trunk/share/man/man4/sbp.4
===================================================================
--- trunk/share/man/man4/sbp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sbp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
 .\" All rights reserved.
 .\"
@@ -29,7 +30,7 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sbp.4 231244 2012-02-09 04:37:30Z gjb $
 .\"
 .Dd February 8, 2012
 .Dt SBP 4

Modified: trunk/share/man/man4/sbp_targ.4
===================================================================
--- trunk/share/man/man4/sbp_targ.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sbp_targ.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2003 Hidetoshi Shimokawa
 .\" All rights reserved.
 .\"
@@ -29,7 +30,7 @@
 .\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sbp_targ.4 208596 2010-05-27 13:56:40Z uqs $
 .\"
 .Dd November 7, 2003
 .Dt SBP_TARG 4

Modified: trunk/share/man/man4/sbsh.4
===================================================================
--- trunk/share/man/man4/sbsh.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sbsh.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Written by Denis I. Timofeev, 2003.
 .\"
 .\" Redistribution and use in source and binary forms, with or without

Modified: trunk/share/man/man4/scc.4
===================================================================
--- trunk/share/man/man4/scc.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/scc.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2006 Marcel Moolenaar
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/scc.4 157299 2006-03-30 18:33:22Z marcel $
 .\"
 .Dd March 29, 2006
 .Dt SCC 4

Modified: trunk/share/man/man4/scd.4
===================================================================
--- trunk/share/man/man4/scd.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/scd.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1995 Jordan K. Hubbard
 .\" All rights reserved.
@@ -24,9 +25,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/scd.4 320923 2017-07-12 22:16:54Z jhb $
 .\"
-.Dd March 17, 2008
+.Dd July 8, 2017
 .Dt SCD 4
 .Os
 .Sh NAME
@@ -39,6 +40,11 @@
 .Pa /boot/device.hints :
 .Cd hint.scd.0.at="isa"
 .Cd hint.scd.0.port="0x230"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
 .Sh DESCRIPTION
 The
 .Nm

Modified: trunk/share/man/man4/sched_4bsd.4
===================================================================
--- trunk/share/man/man4/sched_4bsd.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sched_4bsd.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Robert N. M. Watson
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sched_4bsd.4 206622 2010-04-14 19:08:06Z uqs $
 .\"
 .Dd January 21, 2008
 .Dt SCHED_4BSD 4

Modified: trunk/share/man/man4/sched_ule.4
===================================================================
--- trunk/share/man/man4/sched_ule.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sched_ule.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Robert N. M. Watson
 .\" All rights reserved.
 .\"
@@ -22,9 +23,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sched_ule.4 239185 2012-08-10 19:02:49Z mav $
 .\"
-.Dd January 21, 2008
+.Dd August 10, 2012
 .Dt SCHED_ULE 4
 .Os
 .Sh NAME
@@ -59,6 +60,9 @@
 .Bl -tag -width indent
 .It Va kern.sched.name
 This read-only sysctl reports the name of the active scheduler.
+.It Va kern.sched.quantum
+This read-write sysctl reports or sets the length of the quantum (in
+micro-seconds) granted to a thread.
 .El
 .Sh SEE ALSO
 .Xr sched_4bsd 4 ,

Modified: trunk/share/man/man4/screen.4
===================================================================
--- trunk/share/man/man4/screen.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/screen.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,6 +1,7 @@
-.\"
 .\" $MidnightBSD$
 .\"
+.\" $FreeBSD: stable/10/share/man/man4/screen.4 213573 2010-10-08 12:40:16Z uqs $
+.\"
 .Dd October 6, 2000
 .Dt SCREEN 4
 .Os

Modified: trunk/share/man/man4/scsi.4
===================================================================
--- trunk/share/man/man4/scsi.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/scsi.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1996
 .\"	Julian Elischer <julian at FreeBSD.org>.  All rights reserved.
 .\"
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/scsi.4 262017 2014-02-17 09:35:30Z mav $
 .Dd June 7, 2012
 .Dt CAM 4
 .Os
@@ -195,7 +196,7 @@
 This assigns
 .Nm
 bus 0 to the bus 1 instance on
-.Em ahc0 .
+.Em ahc1 .
 Peripheral drivers can be wired to a specific bus, target, and lun as so:
 .Bd -literal -offset indent
 hint.da.0.at="scbus0"

Modified: trunk/share/man/man4/sctp.4
===================================================================
--- trunk/share/man/man4/sctp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sctp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2006, Randall Stewart.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
@@ -28,7 +29,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sctp.4 211397 2010-08-16 15:18:30Z joel $
 .\"
 .Dd December 15, 2006
 .Dt SCTP 4

Modified: trunk/share/man/man4/sdhci.4
===================================================================
--- trunk/share/man/man4/sdhci.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sdhci.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2008 Alexander Motin <mav at FreeBSD.org>
 .\" All rights reserved.
@@ -22,9 +23,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sdhci.4 249373 2013-04-11 18:46:41Z joel $
 .\"
-.Dd January 14, 2009
+.Dd February 9, 2012
 .Dt SDHCI 4
 .Os
 .Sh NAME
@@ -69,6 +70,8 @@
 .It
 RICOH R5C822
 .It
+RICOH R5CE823
+.It
 TI PCIXX21/XX11
 .El
 .Sh SEE ALSO
@@ -83,4 +86,4 @@
 Many of existing SD controller chips have some nonstandard requirements,
 proprietary registers and hardware bugs, requiring additional handling.
 ENE chips are handled to work fine, while some revisions of RICOH and TI
-controllers still don't see cards without some additional initialization.
+controllers still do not see cards without some additional initialization.

Modified: trunk/share/man/man4/sem.4
===================================================================
--- trunk/share/man/man4/sem.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sem.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2002 Tim J. Robbins
 .\" All rights reserved.
 .\"
@@ -22,9 +23,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sem.4 261879 2014-02-14 08:29:00Z brueffer $
 .\"
-.Dd May 3, 2011
+.Dd February 7, 2014
 .Dt SEM 4
 .Os
 .Sh NAME
@@ -32,7 +33,7 @@
 .Nd POSIX semaphores
 .Sh SYNOPSIS
 To compile this driver into the kernel,
-place the following lines in your
+place the following line in your
 kernel configuration file:
 .Bd -ragged -offset indent
 .Cd "options P1003_1B_SEMAPHORES"
@@ -45,7 +46,11 @@
 sem_load="YES"
 .Ed
 .Pp
-.Dl "kldload sem"
+To load the driver as a module at run-time, run the following
+command as root:
+.Bd -ragged -offset indent
+kldload sem
+.Ed
 .Sh DESCRIPTION
 The
 .Nm

Modified: trunk/share/man/man4/send.4
===================================================================
--- trunk/share/man/man4/send.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/send.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"-
 .\" Copyright (c) 2010 Ana Kukec
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/send.4 235450 2012-05-14 16:25:17Z joel $
 .\"
 .Dd September 19, 2010
 .Dt SEND 4
@@ -38,10 +39,7 @@
 .Ft int
 .Fn socket PF_INET6 SOCK_RAW IPPROTO_SEND
 .Pp
-To enable
-.Ns Nm
-support, load the kernel side SeND as a module.
-To load it at boot time, add the following line to
+To load the driver as a module at boot time, place the following line in
 .Xr loader.conf 5 :
 .Bd -literal -offset indent
 send_load="YES"

Modified: trunk/share/man/man4/ses.4
===================================================================
--- trunk/share/man/man4/ses.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ses.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2000
 .\"	Matthew Jacob <mjacob at FreeBSD.org>.  All rights reserved.
 .\"
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ses.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd January 29, 2000
 .Dt SES 4

Modified: trunk/share/man/man4/sf.4
===================================================================
--- trunk/share/man/man4/sf.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sf.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997, 1998, 1999
 .\"	Bill Paul <wpaul at ctr.columbia.edu>. All rights reserved.
 .\"
@@ -28,7 +29,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sf.4 213573 2010-10-08 12:40:16Z uqs $
 .\"
 .Dd January 21, 2008
 .Dt SF 4

Modified: trunk/share/man/man4/sfxge.4
===================================================================
--- trunk/share/man/man4/sfxge.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sfxge.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,30 +1,35 @@
-.\" Copyright (c) 2011 Solarflare Communications, Inc.
+.\" $MidnightBSD$
+.\" Copyright (c) 2011-2016 Solarflare Communications Inc.
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
+.\" modification, are permitted provided that the following conditions are met:
 .\"
-.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
+.\" 1. Redistributions of source code must retain the above copyright notice,
+.\"    this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright notice,
+.\"    this list of conditions and the following disclaimer in the documentation
+.\"    and/or other materials provided with the distribution.
 .\"
-.\" $MidnightBSD$
+.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+.\" THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+.\" CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+.\" EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+.\" PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+.\" OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd February 8, 2012
+.\" The views and conclusions contained in the software and documentation are
+.\" those of the authors and should not be interpreted as representing official
+.\" policies, either expressed or implied, of the FreeBSD Project.
+.\"
+.\" $FreeBSD: stable/10/share/man/man4/sfxge.4 312169 2017-01-14 10:59:25Z arybchik $
+.\"
+.Dd February 22, 2015
 .Dt SFXGE 4
 .Os
 .Sh NAME
@@ -52,7 +57,7 @@
 The driver supports jumbo
 frames, transmit/receive checksum offload, TCP Segmentation Offload
 (TSO), Large Receive Offload (LRO), VLAN checksum offload, VLAN TSO,
-and Receive Side Scaling (RSS) using MSI-X interrupts.  
+and Receive Side Scaling (RSS) using MSI-X interrupts.
 .Pp
 The driver allocates 1 receive queue, transmit queue, event queue and
 IRQ per CPU up to a maximum of 64.
@@ -76,6 +81,95 @@
 .Nm
 driver supports all 10Gb Ethernet adapters based on Solarflare SFC9000
 family controllers.
+.Sh LOADER TUNABLES
+Tunables can be set at the
+.Xr loader 8
+prompt before booting the kernel or stored in
+.Xr loader.conf 5 .
+Actual values can be obtained using
+.Xr sysctl 8 .
+.Bl -tag -width indent
+.It Va hw.sfxge.rx_ring
+The maximum number of descriptors in a receive queue ring.
+Supported values are: 512, 1024, 2048 and 4096.
+.It Va hw.sfxge.tx_ring
+The maximum number of descriptors in a transmit queue ring.
+Supported values are: 512, 1024, 2048 and 4096.
+.It Va hw.sfxge.tx_dpl_get_max
+The maximum length of the deferred packet
+.Dq get-list
+for queued transmit packets (TCP and non-TCP), used only if the transmit
+queue lock can be acquired.
+If a packet is dropped, the
+.Va tx_get_overflow
+counter is incremented and the local sender receives ENOBUFS.
+The value must be greater than 0.
+.It Va hw.sfxge.tx_dpl_get_non_tcp_max
+The maximum number of non-TCP packets in the deferred packet
+.Dq get-list
+, used only if the transmit queue lock can be acquired.
+If a packet is dropped, the
+.Va tx_get_non_tcp_overflow
+counter is incremented and the local sender receives ENOBUFS.
+The value must be greater than 0.
+.It Va hw.sfxge.tx_dpl_put_max
+The maximum length of the deferred packet
+.Dq put-list
+for queued transmit
+packets, used if the transmit queue lock cannot be acquired.
+If a packet is dropped, the
+.Va tx_put_overflow
+counter is incremented and the local sender receives ENOBUFS.
+The value must be greater than or equal to 0.
+.It Va hw.sfxge.tso_fw_assisted
+Bitmask to enable/disable usage of FW-assisted TSO version if supported
+by NIC firmware.
+FATSOv1 (bit 0) and FATSOv2 (bit 1) are supported.
+All enabled by default.
+.It Va hw.sfxge.N.max_rss_channels
+The maximum number of allocated RSS channels for the Nth adapter.
+If set to 0 or unset, the number of channels is determined by the number
+of CPU cores.
+.It Va hw.sfxge.lro.table_size
+Size of the LRO hash table.
+Must be a power of 2.
+A larger table means we can accelerate a larger number of streams.
+.It Va hw.sfxge.lro.chain_max
+The maximum length of a hash chain.
+If chains get too long then the lookup time increases and may exceed
+the benefit of LRO.
+.It Va hw.sfxge.lro.idle_ticks
+The maximum time (in ticks) that a connection can be idle before it's LRO
+state is discarded.
+.It Va hw.sfxge.lro.slow_start_packets
+Number of packets with payload that must arrive in-order before a connection
+is eligible for LRO.
+The idea is we should avoid coalescing segments when the sender is in
+slow-start because reducing the ACK rate can damage performance.
+.It Va hw.sfxge.lro.loss_packets
+Number of packets with payload that must arrive in-order following loss
+before a connection is eligible for LRO.
+The idea is we should avoid coalescing segments when the sender is recovering
+from loss, because reducing the ACK rate can damage performance.
+.It Va hw.sfxge.mcdi_logging
+Enable logging of MCDI protocol messages  (only available if enabled at compile-time).
+.It Va hw.sfxge.N.mcdi_logging
+Enable or disable logging of MCDI protocol messages on a per-port basis. The default for each
+port will be the value of
+.Va hw.sfxge.mcdi_logging.
+The logging may also be enabled or disabled after the driver is loaded using the sysctl
+.Va dev.sfxge.%d.mcdi_logging.
+.It Va hw.sfxge.stats_update_period_ms
+Period in milliseconds to refresh interface statistics from hardware.
+The accepted range is 0 to 65535, the default is 1000 (1 second).
+Use zero value to disable periodic statistics update.
+Supported on SFN8xxx series adapters with firmware v6.2.1.1033 and later and
+SFN5xxx and SFN6xxx series adapters.
+SFN7xxx series adapters and SFN8xxx series with earlier firmware use a
+fixed 1000 milliseconds statistics update period.
+The period may also be changed after the driver is loaded using the sysctl
+.Va dev.sfxge.%d.stats_update_period_ms .
+.El
 .Sh SUPPORT
 For general information and support,
 go to the Solarflare support website at:

Modified: trunk/share/man/man4/sge.4
===================================================================
--- trunk/share/man/man4/sge.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sge.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2010 Pyun YongHyeon
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sge.4 248253 2013-03-13 18:43:25Z pluknet $
 .\"
 .Dd January 16, 2011
 .Dt SGE 4

Modified: trunk/share/man/man4/si.4
===================================================================
--- trunk/share/man/man4/si.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/si.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,5 +1,6 @@
 .\" $MidnightBSD$
-.Dd September 16, 1995
+.\" $FreeBSD: stable/10/share/man/man4/si.4 320923 2017-07-12 22:16:54Z jhb $
+.Dd July 8, 2017
 .Dt SI 4
 .Os
 .Sh NAME
@@ -13,6 +14,11 @@
 .Cd hint.si.0.at="isa"
 .Cd hint.si.0.maddr="0xd0000"
 .Cd hint.si.0.irq="12"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
 .Sh DESCRIPTION
 The Specialix SI/XIO and SX hardware makes up an 8 to 32 port RS-232 serial
 multiplexor.

Modified: trunk/share/man/man4/siba.4
===================================================================
--- trunk/share/man/man4/siba.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/siba.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2010 Weongyo Jeong
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/siba.4 202412 2010-01-15 19:34:40Z brueffer $
 .\"
 .Dd January 8, 2010
 .Dt SIBA 4

Modified: trunk/share/man/man4/siftr.4
===================================================================
--- trunk/share/man/man4/siftr.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/siftr.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2010 The FreeBSD Foundation
 .\" All rights reserved.
@@ -28,9 +29,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/siftr.4 281174 2015-04-06 22:41:13Z hiren $
 .\"
-.Dd November 12, 2010
+.Dd March 18, 2015
 .Dt SIFTR 4
 .Os
 .Sh NAME
@@ -38,7 +39,7 @@
 .Nd Statistical Information For TCP Research
 .Sh SYNOPSIS
 To load
-.Ns Nm
+the driver
 as a module at run-time, run the following command as root:
 .Bd -literal -offset indent
 kldload siftr
@@ -45,7 +46,7 @@
 .Ed
 .Pp
 Alternatively, to load
-.Ns Nm
+the driver
 as a module at boot time, add the following line into the
 .Xr loader.conf 5
 file:
@@ -53,13 +54,16 @@
 siftr_load="YES"
 .Ed
 .Sh DESCRIPTION
+The
 .Nm
-.Ns ( Em S Ns tatistical
+.Po
+.Em S Ns tatistical
 .Em I Ns nformation
 .Em F Ns or
 .Em T Ns CP
-.Em R Ns esearch )
-is a kernel module that logs a range of statistics on active TCP connections to
+.Em R Ns esearch
+.Pc
+kernel module logs a range of statistics on active TCP connections to
 a log file.
 It provides the ability to make highly granular measurements of TCP connection
 state, aimed at system administrators, developers and researchers.
@@ -332,6 +336,22 @@
 .It Va 26
 The current number of segments in the reassembly queue.
 .El
+.Bl -tag -offset indent -width Va
+.It Va 27
+Flowid for the connection.
+A caveat: Zero '0' either represents a valid flowid or a default value when it's
+not being set. There is no easy way to differentiate without looking at actual
+network interface card and drivers being used.
+.El
+.Bl -tag -offset indent -width Va
+.It Va 28
+Flow type for the connection.
+Flowtype defines which protocol fields are hashed to produce the flowid. 
+A complete listing is available in
+.Pa sys/mbuf.h
+under
+.Dv M_HASHTYPE_* .
+.El
 .Pp
 The third type of log message is written to the file when the module is disabled
 and ceases collecting data from the running kernel.
@@ -598,11 +618,11 @@
 command as root:
 sysctl net.inet.siftr.logfile=/tmp/siftr.log
 .Sh SEE ALSO
+.Xr tcpdump 1 ,
+.Xr tcp 4 ,
+.Xr sysctl 8 ,
 .Xr alq 9 ,
 .Xr pfil 9
-.Xr sysctl 8 ,
-.Xr tcp 4 ,
-.Xr tcpdump 1 ,
 .Sh ACKNOWLEDGEMENTS
 Development of this software was made possible in part by grants from the
 Cisco University Research Program Fund at Community Foundation Silicon Valley,

Modified: trunk/share/man/man4/siis.4
===================================================================
--- trunk/share/man/man4/siis.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/siis.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2009 Alexander Motin <mav at FreeBSD.org>
 .\" All rights reserved.
 .\"
@@ -22,9 +23,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/siis.4 287016 2015-08-22 07:32:47Z mav $
 .\"
-.Dd April 8, 2011
+.Dd March 23, 2015
 .Dt SIIS 4
 .Os
 .Sh NAME
@@ -57,12 +58,13 @@
 allowing some power to be saved at the cost of additional command
 latency.
 Possible values:
-.Bl -tag -compact
+.Bl -tag -width 2n -offset indent
 .It 0
 interface Power Management is disabled (default);
 .It 1
 device is allowed to initiate PM state change, host is passive.
 .El
+.Pp
 Note that interface Power Management is not compatible with
 device presence detection.
 A manual bus reset is needed on device hot-plug.
@@ -97,16 +99,11 @@
 driver can be controlled via the
 .Xr led 4
 API for localization or status reporting purposes.
-.Pp
-Same hardware is also supported by the atasiliconimage driver from
-.Xr ata 4
-subsystem.
-If both drivers are loaded at the same time, this one will be
-given precedence as the more functional of the two.
 .Sh HARDWARE
 The
 .Nm
 driver supports the following controller chips:
+.Pp
 .Bl -bullet -compact
 .It
 SiI3124 (PCI-X 133MHz/64bit, 4 ports)

Modified: trunk/share/man/man4/simplebus.4
===================================================================
--- trunk/share/man/man4/simplebus.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/simplebus.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2010 The FreeBSD Foundation
 .\" All rights reserved.
@@ -26,7 +27,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/simplebus.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd July 12, 2010
 .Dt SIMPLEBUS 4

Modified: trunk/share/man/man4/sio.4
===================================================================
--- trunk/share/man/man4/sio.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sio.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1990, 1991 The Regents of the University of California.
 .\" All rights reserved.
 .\"
@@ -34,7 +35,7 @@
 .\"
 .\"     from: @(#)dca.4	5.2 (Berkeley) 3/27/91
 .\"	from: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sio.4 161737 2006-08-30 14:38:42Z ru $
 .\"
 .Dd August 30, 2006
 .Dt SIO 4

Modified: trunk/share/man/man4/sis.4
===================================================================
--- trunk/share/man/man4/sis.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sis.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997, 1998, 1999
 .\"	Bill Paul <wpaul at ee.columbia.edu>. All rights reserved.
 .\"
@@ -28,7 +29,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sis.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd September 2, 2010
 .Dt SIS 4

Modified: trunk/share/man/man4/sk.4
===================================================================
--- trunk/share/man/man4/sk.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sk.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997, 1998, 1999
 .\"	Bill Paul <wpaul at ctr.columbia.edu>. All rights reserved.
 .\"
@@ -28,7 +29,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sk.4 239840 2012-08-29 15:34:31Z issyl0 $
 .\"
 .Dd August 29, 2012
 .Dt SK 4

Modified: trunk/share/man/man4/sl.4
===================================================================
--- trunk/share/man/man4/sl.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sl.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"	$NetBSD: sl.4,v 1.1 1996/08/10 21:26:14 explorer Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993

Modified: trunk/share/man/man4/smb.4
===================================================================
--- trunk/share/man/man4/smb.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/smb.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1998, Nicolas Souchu
 .\" Copyright (c) 2004, Joerg Wunsch
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/smb.4 213573 2010-10-08 12:40:16Z uqs $
 .\"
 .Dd February 6, 2009
 .Dt SMB 4

Modified: trunk/share/man/man4/smbus.4
===================================================================
--- trunk/share/man/man4/smbus.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/smbus.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1998, Nicolas Souchu
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/smbus.4 202386 2010-01-15 16:01:22Z ru $
 .\"
 .Dd August 10, 1998
 .Dt SMBUS 4

Modified: trunk/share/man/man4/smp.4
===================================================================
--- trunk/share/man/man4/smp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/smp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997
 .\"	Steve Passe <fsmp at FreeBSD.org>.  All rights reserved.
 .\"
@@ -21,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/smp.4 233648 2012-03-29 05:02:12Z eadler $
 .\"
 .Dd May 7, 2008
 .Dt SMP 4
@@ -123,7 +124,7 @@
 Because using logical CPUs can cause performance penalties under certain loads,
 the logical CPUs can be disabled by setting the
 .Va machdep.hyperthreading_allowed
-tunable to zero. 
+tunable to zero.
 .Sh SEE ALSO
 .Xr cpuset 1 ,
 .Xr mptable 1 ,

Added: trunk/share/man/man4/smsc.4
===================================================================
--- trunk/share/man/man4/smsc.4	                        (rev 0)
+++ trunk/share/man/man4/smsc.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -0,0 +1,93 @@
+.\" $MidnightBSD$
+.\" Copyright (c) 2014 Gavin Atkinson
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\"
+.\"    - Redistributions of source code must retain the above copyright
+.\"      notice, this list of conditions and the following disclaimer.
+.\"    - Redistributions in binary form must reproduce the above
+.\"      copyright notice, this list of conditions and the following
+.\"      disclaimer in the documentation and/or other materials provided
+.\"      with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.\" $FreeBSD: stable/10/share/man/man4/smsc.4 291844 2015-12-05 07:46:37Z kevlo $
+.\"
+.Dd November 24, 2015
+.Dt SMSC 4
+.Os
+.Sh NAME
+.Nm smsc
+.Nd "USB SMSC LAN9xxx Fast Ethernet driver"
+.Sh SYNOPSIS
+To load the driver as a module at boot time, place the
+following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+if_smsc_load="YES"
+.Ed
+.Pp
+Alternatively, to compile this driver into the kernel, place the
+following lines in your kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device uhci"
+.Cd "device ohci"
+.Cd "device usb"
+.Cd "device miibus"
+.Cd "device uether"
+.Cd "device smsc"
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+device driver provides support for USB Fast Ethernet adapters based
+on the SMSC LAN9xxx chipsets.
+.Pp
+For more information on configuring this device, see
+.Xr ifconfig 8 .
+.Sh HARDWARE
+The following devices are supported by the
+.Nm
+driver:
+.Pp
+.Bl -bullet -compact
+.It
+SMSC LAN9500, LAN9500A, LAN9505 and LAN9505A based Ethernet adapters
+.It
+SMSC LAN89530, LAN9530 and LAN9730 based Ethernet adapters
+.It
+SMSC LAN951x Ethernet adapters with integrated USB hub
+.El
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr intro 4 ,
+.Xr miibus 4 ,
+.Xr netintro 4 ,
+.Xr usb 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Fx 10.0 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Ben Gray Aq Mt bgray at FreeBSD.org .


Property changes on: trunk/share/man/man4/smsc.4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/share/man/man4/sn.4
===================================================================
--- trunk/share/man/man4/sn.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sn.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2000 Warner Losh
 .\" All rights reserved.
@@ -22,7 +23,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sn.4 151046 2005-10-07 02:32:16Z trhodes $
 .\"
 .Dd July 16, 2005
 .Dt SN 4

Modified: trunk/share/man/man4/snd_ad1816.4
===================================================================
--- trunk/share/man/man4/snd_ad1816.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_ad1816.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_ad1816.4 153459 2005-12-15 20:25:41Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_AD1816 4

Modified: trunk/share/man/man4/snd_als4000.4
===================================================================
--- trunk/share/man/man4/snd_als4000.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_als4000.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_als4000.4 153459 2005-12-15 20:25:41Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_ALS4000 4

Modified: trunk/share/man/man4/snd_atiixp.4
===================================================================
--- trunk/share/man/man4/snd_atiixp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_atiixp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Joel Dahl
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_atiixp.4 169494 2007-05-12 06:33:52Z brueffer $
 .\"
 .Dd November 29, 2006
 .Dt SND_ATIIXP 4

Modified: trunk/share/man/man4/snd_cmi.4
===================================================================
--- trunk/share/man/man4/snd_cmi.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_cmi.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_cmi.4 153459 2005-12-15 20:25:41Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_CMI 4

Modified: trunk/share/man/man4/snd_cs4281.4
===================================================================
--- trunk/share/man/man4/snd_cs4281.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_cs4281.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_cs4281.4 153459 2005-12-15 20:25:41Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_CS4281 4

Modified: trunk/share/man/man4/snd_csa.4
===================================================================
--- trunk/share/man/man4/snd_csa.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_csa.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1999 Seigo Tanimura
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_csa.4 159748 2006-06-18 17:53:04Z brueffer $
 .\"
 .Dd December 15, 2005
 .Dt SND_CSA 4

Modified: trunk/share/man/man4/snd_ds1.4
===================================================================
--- trunk/share/man/man4/snd_ds1.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_ds1.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_ds1.4 153459 2005-12-15 20:25:41Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_DS1 4

Modified: trunk/share/man/man4/snd_emu10k1.4
===================================================================
--- trunk/share/man/man4/snd_emu10k1.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_emu10k1.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_emu10k1.4 153459 2005-12-15 20:25:41Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_EMU10K1 4

Modified: trunk/share/man/man4/snd_emu10kx.4
===================================================================
--- trunk/share/man/man4/snd_emu10kx.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_emu10kx.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2003-2007 Yuriy Tsibizov
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_emu10kx.4 233648 2012-03-29 05:02:12Z eadler $
 .\"
 .Dd May 28, 2008
 .Dt SND_EMU10KX 4
@@ -119,7 +120,7 @@
 .Xr loader.conf 5
 configuration file you will get up to five DSP devices, one for each
 sound card output.
-You can use additional software (like 
+You can use additional software (like
 .Em audio/pulseaudio
 from
 .Em The Ports Collection )
@@ -164,7 +165,6 @@
 .It +0x3E
 sync substream (0xc0de)
 .El
-.Pp
 .Ss Audigy substream map (in byte offsets, each substream is 2 bytes LE)
 .Bl -tag -width ".Dv +0x00..+0x3E"
 .It Dv Offset
@@ -286,7 +286,6 @@
 device driver and this manual page were written by
 .An Yuriy Tsibizov .
 .Sh BUGS
-.Pp
 The driver does not detect lost S/PDIF signals and produces noise when
 S/PDIF is not connected and S/PDIF volume is not zero.
 .Pp

Modified: trunk/share/man/man4/snd_envy24.4
===================================================================
--- trunk/share/man/man4/snd_envy24.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_envy24.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2006 Alexander Leidinger
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_envy24.4 175084 2008-01-04 12:57:34Z gabor $
 .\"
 .Dd September 30, 2006
 .Dt SND_ENVY24 4

Modified: trunk/share/man/man4/snd_envy24ht.4
===================================================================
--- trunk/share/man/man4/snd_envy24ht.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_envy24ht.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2006 Alexander Leidinger
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_envy24ht.4 175084 2008-01-04 12:57:34Z gabor $
 .\"
 .Dd May 28, 2007
 .Dt SND_ENVY24HT 4

Modified: trunk/share/man/man4/snd_es137x.4
===================================================================
--- trunk/share/man/man4/snd_es137x.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_es137x.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_es137x.4 164752 2006-11-29 17:07:02Z joel $
 .\"
 .Dd November 29, 2006
 .Dt SND_ES137X 4

Modified: trunk/share/man/man4/snd_ess.4
===================================================================
--- trunk/share/man/man4/snd_ess.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_ess.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_ess.4 153459 2005-12-15 20:25:41Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_ESS 4

Modified: trunk/share/man/man4/snd_fm801.4
===================================================================
--- trunk/share/man/man4/snd_fm801.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_fm801.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Joel Dahl
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_fm801.4 152984 2005-12-01 12:58:51Z joel $
 .\"
 .Dd December 1, 2005
 .Dt SND_FM801 4

Modified: trunk/share/man/man4/snd_gusc.4
===================================================================
--- trunk/share/man/man4/snd_gusc.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_gusc.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1999 Seigo Tanimura
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_gusc.4 159748 2006-06-18 17:53:04Z brueffer $
 .\"
 .Dd December 15, 2005
 .Dt SND_GUSC 4

Modified: trunk/share/man/man4/snd_hda.4
===================================================================
--- trunk/share/man/man4/snd_hda.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_hda.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2006-2008 Joel Dahl <joel at FreeBSD.org>
 .\" Copyright (c) 2008 Alexander Motin <mav at FreeBSD.org>
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_hda.4 236443 2012-06-02 11:03:14Z joel $
 .\"
 .Dd January 25, 2012
 .Dt SND_HDA 4
@@ -184,7 +185,7 @@
 pairs.
 .It Va hint.pcm.%d.rec.autosrc
 Controls automatic recording source feature:
-.Bl -tag -compact
+.Bl -tag -width 2n -compact
 .It 0
 disabled,
 .It 1
@@ -480,7 +481,6 @@
 will go from two external microphones and line-in jacks.
 .Li pcm1
 playback will go to the internal speaker.
-.Pp
 .Ss Example 2
 Setting the
 .Xr device.hints 5
@@ -503,7 +503,6 @@
 .Li pcm1
 device will be completely dedicated to a headset (headphones and mic)
 connected to the front connectors.
-.Pp
 .Ss Example 3
 Setting the
 .Xr device.hints 5
@@ -527,7 +526,6 @@
 and
 .Li pcm3
 .Pq internal speaker .
-.Pp
 .Ss Example 4
 Setting the
 .Xr device.hints 5

Modified: trunk/share/man/man4/snd_hdspe.4
===================================================================
--- trunk/share/man/man4/snd_hdspe.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_hdspe.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2012 Ruslan Bukin <br at bsdpad.com>
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_hdspe.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd February 13, 2012
 .Dt SND_HDSPE 4

Modified: trunk/share/man/man4/snd_ich.4
===================================================================
--- trunk/share/man/man4/snd_ich.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_ich.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Jorge Mario G. Mazo
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_ich.4 233648 2012-03-29 05:02:12Z eadler $
 .\"
 .Dd January 6, 2009
 .Dt SND_ICH 4
@@ -52,7 +53,7 @@
 to attach to Intel ICH AC'97 and compatible audio devices.
 .Pp
 Some later chips, like ICH6/ICH7, depending on wiring can instead implement
-newer Intel HD Audio specification, which is supported by 
+newer Intel HD Audio specification, which is supported by
 .Xr snd_hda 4
 driver.
 .Sh HARDWARE

Modified: trunk/share/man/man4/snd_maestro.4
===================================================================
--- trunk/share/man/man4/snd_maestro.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_maestro.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Jorge Mario G. Mazo
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_maestro.4 153459 2005-12-15 20:25:41Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_MAESTRO 4

Modified: trunk/share/man/man4/snd_maestro3.4
===================================================================
--- trunk/share/man/man4/snd_maestro3.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_maestro3.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2001 Scott Long
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_maestro3.4 154136 2006-01-09 12:51:45Z joel $
 .\"
 .Dd December 15, 2005
 .Dt SND_MAESTRO3 4

Modified: trunk/share/man/man4/snd_mss.4
===================================================================
--- trunk/share/man/man4/snd_mss.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_mss.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Joel Dahl
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_mss.4 152984 2005-12-01 12:58:51Z joel $
 .\"
 .Dd December 1, 2005
 .Dt SND_MSS 4

Modified: trunk/share/man/man4/snd_neomagic.4
===================================================================
--- trunk/share/man/man4/snd_neomagic.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_neomagic.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Joel Dahl
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_neomagic.4 152984 2005-12-01 12:58:51Z joel $
 .\"
 .Dd December 1, 2005
 .Dt SND_NEOMAGIC 4

Modified: trunk/share/man/man4/snd_sbc.4
===================================================================
--- trunk/share/man/man4/snd_sbc.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_sbc.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1999 Seigo Tanimura
 .\" All rights reserved.
@@ -23,7 +24,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_sbc.4 166801 2007-02-17 11:31:58Z joel $
 .\"
 .Dd February 17, 2007
 .Dt SND_SBC 4

Modified: trunk/share/man/man4/snd_solo.4
===================================================================
--- trunk/share/man/man4/snd_solo.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_solo.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2004 Atte Peltomaki
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_solo.4 152895 2005-11-28 18:47:00Z joel $
 .\"
 .Dd November 28, 2005
 .Dt SND_SOLO 4

Modified: trunk/share/man/man4/snd_spicds.4
===================================================================
--- trunk/share/man/man4/snd_spicds.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_spicds.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2006 Alexander Leidinger
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_spicds.4 175084 2008-01-04 12:57:34Z gabor $
 .\"
 .Dd May 28, 2007
 .Dt SND_SPICDS 4

Modified: trunk/share/man/man4/snd_t4dwave.4
===================================================================
--- trunk/share/man/man4/snd_t4dwave.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_t4dwave.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Joel Dahl
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_t4dwave.4 152984 2005-12-01 12:58:51Z joel $
 .\"
 .Dd December 1, 2005
 .Dt SND_T4DWAVE 4

Modified: trunk/share/man/man4/snd_uaudio.4
===================================================================
--- trunk/share/man/man4/snd_uaudio.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_uaudio.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $NetBSD: uaudio.4,v 1.15 2002/02/12 19:53:57 jdolecek Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -27,9 +28,9 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_uaudio.4 280681 2015-03-26 10:25:15Z hselasky $
 .\"
-.Dd February 24, 2011
+.Dd March 19, 2015
 .Dt SND_UAUDIO 4
 .Os
 .Sh NAME
@@ -91,12 +92,27 @@
 The
 .Tn PCM
 framework in
-.Fx ,
-as of this writing, does not handle device un-registrations in a properly
-abstracted manner, i.e., a detach request is refused by the
+.Fx
+only supports synchronous device detach.
+That means all mixer and DSP character devices belonging to a given
+USB audio device must be closed when receiving an error on a DSP read,
+a DSP write or a DSP IOCTL request.
+Else the USB audio driver will wait for this to happen, preventing
+enumeration of new devices on the parenting USB controller.
+.Pp
+Some USB audio devices might refuse to work properly unless the sample
+rate is configured the same for both recording and playback, even if
+only simplex is used.
+See the
+.Va dev.pcm.%d.[play|rec].vchanrate
+sysctls.
+.Pp
+The
 .Tn PCM
-framework if the device is in use.
-It is necessary to allow the device un-registration to complete
-successfully, otherwise the
-.Tn PCM
-layer will panic.
+framework in
+.Fx
+currently doesn't support the full set of USB audio mixer
+controls.
+Some mixer controls are only available as
+.Va dev.pcm.%d.mixer
+sysctls.

Modified: trunk/share/man/man4/snd_via8233.4
===================================================================
--- trunk/share/man/man4/snd_via8233.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_via8233.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Joel Dahl
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_via8233.4 169495 2007-05-12 06:41:41Z brueffer $
 .\"
 .Dd November 29, 2006
 .Dt SND_VIA8233 4

Modified: trunk/share/man/man4/snd_via82c686.4
===================================================================
--- trunk/share/man/man4/snd_via82c686.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_via82c686.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Joel Dahl
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_via82c686.4 152984 2005-12-01 12:58:51Z joel $
 .\"
 .Dd December 1, 2005
 .Dt SND_VIA82C686 4

Modified: trunk/share/man/man4/snd_vibes.4
===================================================================
--- trunk/share/man/man4/snd_vibes.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snd_vibes.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005 Joel Dahl
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/snd_vibes.4 152984 2005-12-01 12:58:51Z joel $
 .\"
 .Dd December 1, 2005
 .Dt SND_VIBES 4

Modified: trunk/share/man/man4/snp.4
===================================================================
--- trunk/share/man/man4/snp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/snp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,6 +1,7 @@
-.\"
 .\" $MidnightBSD$
 .\"
+.\" $FreeBSD: stable/10/share/man/man4/snp.4 184689 2008-11-05 15:04:03Z ed $
+.\"
 .Dd November 5, 2008
 .Dt SNP 4
 .Os

Modified: trunk/share/man/man4/spic.4
===================================================================
--- trunk/share/man/man4/spic.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/spic.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2002 Will Andrews
 .\" All rights reserved.
@@ -23,9 +24,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/spic.4 320923 2017-07-12 22:16:54Z jhb $
 .\"
-.Dd May 20, 2002
+.Dd July 8, 2017
 .Dt SPIC 4
 .Os
 .Sh NAME
@@ -33,6 +34,11 @@
 .Nd Sony Programmable I/O Controller device driver
 .Sh SYNOPSIS
 .Cd "device spic"
+.Sh DEPRECATION NOTICE
+The
+.Nm
+driver will be removed in
+.Fx 12.0 .
 .Sh DESCRIPTION
 The
 .Nm

Modified: trunk/share/man/man4/spkr.4
===================================================================
--- trunk/share/man/man4/spkr.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/spkr.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,6 +1,7 @@
-.\"
 .\" $MidnightBSD$
 .\"
+.\" $FreeBSD: stable/10/share/man/man4/spkr.4 152306 2005-11-11 09:57:32Z ru $
+.\"
 .Dd November 10, 2005
 .Dt SPKR 4
 .Os

Modified: trunk/share/man/man4/splash.4
===================================================================
--- trunk/share/man/man4/splash.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/splash.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1999
 .\" Kazutaka YOKOTA <yokota at zodiac.mech.utsunomiya-u.ac.jp>
@@ -24,9 +25,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/splash.4 294783 2016-01-26 08:55:31Z des $
 .\"
-.Dd November 29, 2010
+.Dd December 31, 2015
 .Dt SPLASH 4
 .Os
 .Sh NAME
@@ -130,6 +131,8 @@
 Animated graphical
 .Fx
 logo.
+.It Pa plasma_saver.ko
+Draws an animated interference pattern.
 .It Pa rain_saver.ko
 Draws a shower on the screen.
 .It Pa snake_saver.ko
@@ -282,6 +285,14 @@
 code, with some additional inspiration from the
 .Pa daemon_saver
 code.
+The
+.Pa logo_saver ,
+.Pa plasma_saver ,
+.Pa rain_saver
+and
+.Pa warp_saver
+modules were written by
+.An Dag-Erling Sm\(/orgrav Aq Mt des at FreeBSD.org .
 .Sh CAVEATS
 Both the splash screen and the screen saver work with
 .Xr syscons 4

Modified: trunk/share/man/man4/sppp.4
===================================================================
--- trunk/share/man/man4/sppp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sppp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1997, 2001 Joerg Wunsch
 .\"
@@ -23,7 +24,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sppp.4 179315 2008-05-26 10:40:09Z bz $
 .\"
 .Dd May 25, 2008
 .Dt SPPP 4

Modified: trunk/share/man/man4/ste.4
===================================================================
--- trunk/share/man/man4/ste.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ste.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997, 1998, 1999
 .\"	Bill Paul <wpaul at ctr.columbia.edu>. All rights reserved.
 .\"
@@ -28,7 +29,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ste.4 235319 2012-05-12 03:46:43Z gjb $
 .\"
 .Dd December 24, 2009
 .Dt STE 4

Modified: trunk/share/man/man4/stf.4
===================================================================
--- trunk/share/man/man4/stf.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/stf.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"     $KAME: stf.4,v 1.35 2001/05/02 06:24:49 itojun Exp $
 .\"
 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -27,7 +28,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/stf.4 245323 2013-01-12 08:44:54Z joel $
 .\"
 .Dd December 28, 2012
 .Dt STF 4
@@ -190,8 +191,8 @@
 .It Va net.link.stf.permit_rfc1918 : No 0
 The RFC3056 requires the use of globally unique 32-bit IPv4
 addresses. This sysctl variable controls the behaviour of this
-requirement. When it set to not 0, 
-.Nm stf 
+requirement. When it set to not 0,
+.Nm stf
 allows the use of private IPv4 addresses described in the RFC1918.
 This may be useful for an Intranet environment or when some mechanisms
 of network address translation (NAT) are used.

Modified: trunk/share/man/man4/stg.4
===================================================================
--- trunk/share/man/man4/stg.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/stg.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2003 Bob Bishop
 .\" All rights reserved.
@@ -21,7 +22,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/stg.4 159719 2006-06-18 09:53:00Z brueffer $
 .\"
 .Dd August 8, 2004
 .Dt STG 4

Modified: trunk/share/man/man4/stge.4
===================================================================
--- trunk/share/man/man4/stge.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/stge.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"	$NetBSD: stge.4,v 1.7 2003/02/14 15:20:20 grant Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -27,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/stge.4 215780 2010-11-23 22:07:10Z marius $
 .\"
 .Dd November 23, 2010
 .Dt STGE 4

Modified: trunk/share/man/man4/sym.4
===================================================================
--- trunk/share/man/man4/sym.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sym.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\"  Device driver optimized for the Symbios/LSI 53C896/53C895A/53C1010
 .\"  PCI SCSI controllers.
@@ -54,7 +55,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sym.4 213573 2010-10-08 12:40:16Z uqs $
 .\"
 .Dd August 19, 2004
 .Dt SYM 4

Modified: trunk/share/man/man4/syncache.4
===================================================================
--- trunk/share/man/man4/syncache.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/syncache.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" syncache - TCP SYN caching to handle SYN flood DoS.
 .\"
@@ -10,7 +11,7 @@
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/syncache.4 175573 2008-01-22 19:16:09Z trhodes $
 .\"
 .Dd January 22, 2008
 .Dt SYNCACHE 4

Modified: trunk/share/man/man4/syncer.4
===================================================================
--- trunk/share/man/man4/syncer.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/syncer.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2000 Sheldon Hearn <sheldonh at FreeBSD.org>
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/syncer.4 117011 2003-06-28 23:53:39Z ru $
 .\"
 .Dd July 14, 2000
 .Dt SYNCER 4

Modified: trunk/share/man/man4/syscons.4
===================================================================
--- trunk/share/man/man4/syscons.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/syscons.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 1999
 .\" Kazutaka YOKOTA <yokota at zodiac.mech.utsunomiya-u.ac.jp>
@@ -24,9 +25,9 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/syscons.4 268946 2014-07-21 16:21:17Z emaste $
 .\"
-.Dd September 11, 2009
+.Dd July 21, 2014
 .Dt SYSCONS 4
 .Os
 .Sh NAME
@@ -62,6 +63,10 @@
 .Pa /boot/device.hints :
 .Cd hint.sc.0.at="isa"
 .Cd hint.sc.0.vesa_mode=0x103
+.Pp
+In
+.Pa /boot/loader.conf :
+.Cd kern.vty=sc
 .Sh DESCRIPTION
 The
 .Nm
@@ -403,7 +408,9 @@
 The following driver flags can be used to control the
 .Nm
 driver.
-They can be set either in
+Driver flags can be set with the
+.Cd hint.sc.0.flags
+tunable, either in
 .Pa /boot/device.hints ,
 or else at the loader prompt (see
 .Xr loader 8 ) .
@@ -446,6 +453,26 @@
 for a keyboard device if it is not currently attached to one.
 Otherwise, the driver only probes for a keyboard once during bootup.
 .El
+.Ss Loader Tunables
+These settings can be entered at the
+.Xr loader 8
+prompt or in
+.Xr loader.conf 5 .
+.Bl -tag -width indent
+.It Va kern.vty
+When both
+.Nm
+and
+.Xr vt 4
+have been compiled into the kernel, the one to use for the system console can
+be selected by setting this variable to
+.Ql sc
+or
+.Ql vt .
+If not set,
+.Nm
+provides the default system console.
+.El
 .Sh FILES
 .Bl -tag -width /usr/share/syscons/xxxxyyyyzzz -compact
 .It Pa /dev/console
@@ -471,9 +498,9 @@
 device atkbd
 device vga
 device sc
-
 device splash
 .Ed
+.Pp
 You also need the following lines in
 .Pa /boot/device.hints
 for these drivers.
@@ -501,15 +528,15 @@
 because of the current implementation of
 .Xr config 8 .
 .Pp
-.Dl "options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
-.Dl "options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
+.Dl "options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)"
+.Dl "options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)"
 .Pp
 The following lines will set the default colors of the kernel message.
 The kernel message will be printed bright red on black background.
 The reversed message will be black on red background.
 .Pp
-.Dl "options SC_KERNEL_CONS_ATTR=(FG_LIGHTRED|BG_BLACK)
-.Dl "options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)
+.Dl "options SC_KERNEL_CONS_ATTR=(FG_LIGHTRED|BG_BLACK)"
+.Dl "options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)"
 .Pp
 The following example adds the font files
 .Pa cp850-8x16.fnt ,
@@ -519,7 +546,7 @@
 to the kernel.
 .Pp
 .Dl "options SC_DFLT_FONT"
-.Dl "makeoptions SC_DFLT_FONT=cp850
+.Dl "makeoptions SC_DFLT_FONT=cp850"
 .Dl "device sc"
 .\".Sh DIAGNOSTICS
 .Sh SEE ALSO
@@ -533,6 +560,7 @@
 .Xr splash 4 ,
 .Xr ukbd 4 ,
 .Xr vga 4 ,
+.Xr vt 4 ,
 .Xr kbdmap 5 ,
 .Xr rc.conf 5 ,
 .Xr ttys 5 ,

Modified: trunk/share/man/man4/sysmouse.4
===================================================================
--- trunk/share/man/man4/sysmouse.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/sysmouse.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,5 +1,5 @@
-.\" Copyright (c) 1997
-.\"	John-Mark Gurney.  All rights reserved.
+.\" $MidnightBSD$
+.\" Copyright 1997 John-Mark Gurney.  All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/sysmouse.4 254930 2013-08-26 18:50:40Z jmg $
 .\"
 .Dd January 16, 2010
 .Dt SYSMOUSE 4

Modified: trunk/share/man/man4/tap.4
===================================================================
--- trunk/share/man/man4/tap.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/tap.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,7 +1,8 @@
 .\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/tap.4 326692 2017-12-08 15:26:57Z hselasky $
 .\" Based on PR#2411
 .\"
-.Dd September 8, 2008
+.Dd November 29, 2017
 .Dt TAP 4
 .Os
 .Sh NAME
@@ -18,22 +19,33 @@
 that is,
 .Nm
 does for network interfaces what the
-.Nm pty
+.Xr pty 4
 driver does for terminals.
 .Pp
 The
 .Nm
 driver, like the
-.Nm pty
+.Xr pty 4
 driver, provides two interfaces: an interface like the usual facility
 it is simulating
 (an Ethernet network interface in the case of
 .Nm ,
 or a terminal for
-.Nm pty ) ,
+.Xr pty 4 ) ,
 and a character-special device
 .Dq control
 interface.
+A client program transfers Ethernet frames to or from the 
+.Nm
+.Dq control
+interface.
+The
+.Xr tun 4
+interface provides similar functionality at the network layer:
+a client will transfer IP (by default) packets to or from a
+.Xr tun 4
+.Dq control
+interface.
 .Pp
 The network interfaces are named
 .Dq Li tap0 ,
@@ -89,11 +101,7 @@
 is unloaded or the interface is destroyed.
 .Pp
 Each interface supports the usual Ethernet network interface
-.Xr ioctl 2 Ns s ,
-such as
-.Dv SIOCSIFADDR
-and
-.Dv SIOCSIFNETMASK ,
+.Xr ioctl 2 Ns s
 and thus can be used with
 .Xr ifconfig 8
 like any other Ethernet interface.
@@ -164,7 +172,14 @@
 .In net/if_tap.h ) :
 .Bl -tag -width VMIO_SIOCSETMACADDR
 .It Dv TAPSIFINFO
-Set network interface information (line speed, MTU and type).
+Set network interface information (line speed and MTU).
+The type must be the same as returned by
+.Dv TAPGIFINFO
+or set to
+.Dv IFT_ETHER
+else the
+.Xr ioctl 2
+call will fail.
 The argument should be a pointer to a
 .Va struct tapinfo .
 .It Dv TAPGIFINFO
@@ -318,4 +333,5 @@
 .El
 .Sh SEE ALSO
 .Xr inet 4 ,
-.Xr intro 4
+.Xr intro 4 ,
+.Xr tun 4

Modified: trunk/share/man/man4/targ.4
===================================================================
--- trunk/share/man/man4/targ.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/targ.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2002
 .\"	Nate Lawson.  All rights reserved.
 .\"
@@ -22,9 +23,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/targ.4 228481 2011-12-13 21:26:33Z ed $
 .\"
-.Dd November 15, 2002
+.Dd December 13, 2011
 .Dt TARG 4
 .Os
 .Sh NAME
@@ -49,16 +50,8 @@
 .Pp
 The
 .Nm
-driver supplies control devices,
-.Pa /dev/targ0 ,
-.Pa /dev/targ1 ,
-etc.
-If a device is already in use,
-.Xr open 2
-will fail and
-.Va errno
-will be set to
-.Er EBUSY .
+driver supplies the control device
+.Pa /dev/targ .
 After opening the device, the file descriptor must be bound to a
 specific bus/target/LUN and enabled to process CCBs using the
 .Dv TARGIOCENABLE
@@ -123,8 +116,8 @@
 describes the usermode interface.
 .It Pa /sys/cam/scsi/scsi_target.c
 is the driver source file.
-.It Pa /dev/targ*
-are the control devices.
+.It Pa /dev/targ
+is the control device.
 .El
 .Sh SEE ALSO
 .Pa /usr/share/examples/scsi_target ,

Modified: trunk/share/man/man4/tcp.4
===================================================================
--- trunk/share/man/man4/tcp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/tcp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.
 .\" Copyright (c) 2010-2011 The FreeBSD Foundation
@@ -36,9 +37,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     From: @(#)tcp.4	8.1 (Berkeley) 6/5/93
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/tcp.4 286706 2015-08-12 22:51:08Z sbruno $
 .\"
-.Dd November 19, 2012
+.Dd October 13, 2014
 .Dt TCP 4
 .Os
 .Sh NAME
@@ -48,6 +49,7 @@
 .In sys/types.h
 .In sys/socket.h
 .In netinet/in.h
+.In netinet/tcp.h
 .Ft int
 .Fn socket AF_INET SOCK_STREAM 0
 .Sh DESCRIPTION
@@ -147,7 +149,7 @@
 .Xr mod_cc 4
 for details.
 .It Dv TCP_KEEPINIT
-This write-only 
+This
 .Xr setsockopt 2
 option accepts a per-socket timeout argument of
 .Vt "u_int"
@@ -160,7 +162,7 @@
 .Sx MIB Variables
 section further down.
 .It Dv TCP_KEEPIDLE
-This write-only 
+This
 .Xr setsockopt 2
 option accepts an argument of
 .Vt "u_int"
@@ -176,7 +178,7 @@
 .Sx MIB Variables
 section further down.
 .It Dv TCP_KEEPINTVL
-This write-only 
+This
 .Xr setsockopt 2
 option accepts an argument of
 .Vt "u_int"
@@ -191,7 +193,7 @@
 .Sx MIB Variables
 section further down.
 .It Dv TCP_KEEPCNT
-This write-only 
+This
 .Xr setsockopt 2
 option accepts an argument of
 .Vt "u_int"
@@ -351,14 +353,6 @@
 packets to closed ports being logged.
 Any value unlisted above disables the logging
 (default is 0, i.e., the logging is disabled).
-.It Va slowstart_flightsize
-The number of packets allowed to be in-flight during the
-.Tn TCP
-slow-start phase on a non-local network.
-.It Va local_slowstart_flightsize
-The number of packets allowed to be in-flight during the
-.Tn TCP
-slow-start phase to local machines in the same subnet.
 .It Va msl
 The Maximum Segment Lifetime, in milliseconds, for a packet.
 .It Va keepinit
@@ -476,15 +470,6 @@
 This helps throughput in general, but
 particularly affects short transfers and high-bandwidth large
 propagation-delay connections.
-.Pp
-When this feature is enabled, the
-.Va slowstart_flightsize
-and
-.Va local_slowstart_flightsize
-settings are not observed for new
-connection slow starts, but they are still used for slow starts
-that occur when the connection has been idle and starts sending
-again.
 .It Va sack.enable
 Enable support for RFC 2018, TCP Selective Acknowledgment option,
 which allows the receiver to inform the sender about all successfully
@@ -536,8 +521,31 @@
 avoid packet drops.
 .It Va ecn.maxretries
 Number of retries (SYN or SYN/ACK retransmits) before disabling ECN on a
-specific connection. This is needed to help with connection establishment
+specific connection.
+This is needed to help with connection establishment
 when a broken firewall is in the network path.
+.It Va pmtud_blackhole_detection
+Turn on automatic path MTU blackhole detection.
+In case of retransmits OS will
+lower the MSS to check if it's MTU problem.
+If current MSS is greater than
+configured value to try, it will be set to configured value, otherwise,
+MSS will be set to default values
+.Po Va net.inet.tcp.mssdflt
+and
+.Va net.inet.tcp.v6mssdflt
+.Pc .
+.It Va pmtud_blackhole_mss
+MSS to try for IPv4 if PMTU blackhole detection is turned on.
+.It Va v6pmtud_blackhole_mss
+MSS to try for IPv6 if PMTU blackhole detection is turned on.
+.It Va pmtud_blackhole_activated
+Number of times configured values were used in an attempt to downshift.
+.It Va pmtud_blackhole_activated_min_mss
+Number of times default MSS was used in an attempt to downshift.
+.It Va pmtud_blackhole_failed
+Number of connections for which retransmits continued even after MSS
+downshift.
 .El
 .Sh ERRORS
 A socket operation may fail with one of the following errors returned:
@@ -579,6 +587,7 @@
 .Xr intro 4 ,
 .Xr ip 4 ,
 .Xr mod_cc 4 ,
+.Xr siftr 4 ,
 .Xr syncache 4 ,
 .Xr setkey 8
 .Rs

Modified: trunk/share/man/man4/tdfx.4
===================================================================
--- trunk/share/man/man4/tdfx.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/tdfx.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,6 +1,7 @@
-.\"
 .\" $MidnightBSD$
 .\"
+.\" $FreeBSD: stable/10/share/man/man4/tdfx.4 156260 2006-03-03 21:37:38Z yar $
+.\"
 .Dd February 19, 2001
 .Dt TDFX 4
 .Os

Added: trunk/share/man/man4/terasic_mtl.4
===================================================================
--- trunk/share/man/man4/terasic_mtl.4	                        (rev 0)
+++ trunk/share/man/man4/terasic_mtl.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -0,0 +1,132 @@
+.\" $MidnightBSD$
+.\"-
+.\" Copyright (c) 2012 Robert N. M. Watson
+.\" All rights reserved.
+.\"
+.\" This software was developed by SRI International and the University of
+.\" Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
+.\" ("CTSRD"), as part of the DARPA CRASH research programme.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD: stable/10/share/man/man4/terasic_mtl.4 264477 2014-04-14 21:12:38Z brueffer $
+.\"
+.Dd August 18, 2012
+.Dt TERASIC_MTL 4
+.Os
+.Sh NAME
+.Nm terasic_mtl
+.Nd driver for the Terasic/Cambridge Multi-Touch LCD device
+.Sh SYNOPSIS
+.Cd "device terasic_mtl"
+.Pp
+In
+.Pa /boot/device.hints :
+.Cd hint.terasic_mtl.0.at="nexus0"
+.Cd hint.terasic_mtl.0.reg_maddr=0x70400000
+.Cd hint.terasic_mtl.0.reg_msize=0x1000
+.Cd hint.terasic_mtl.0.pixel_maddr=0x70000000
+.Cd hint.terasic_mtl.0.pixel_msize=0x177000
+.Cd hint.terasic_mtl.0.text_maddr=0x70177000
+.Cd hint.terasic_mtl.0.text_msize=0x2000
+.Sh DESCRIPTION
+The
+.Nm
+device driver provides support for the Terasic Multi-Touch LCD combined as
+controlled by a University of Cambridge's IP Core.
+Three device nodes are instantiated, representing various services supported
+by the device:
+.Bl -tag -width terasic_pixelX
+.It terasic_regX
+Memory-mapped register interface, including touch screen input.
+.It terasic_pixelX
+Memory-mapped pixel-oriented frame buffer.
+.It terasic_textX
+Memory-mapped text-oriented frame buffer.
+.El
+.Pp
+.Nm
+devices are also attached to the
+.Xr syscons 4
+framework, which implements a VT-compatible terminal connected to the
+.Xr tty 4
+framework.
+.Li ttyvX
+device nodes may be added to
+.Xr ttys 5
+in order to launch
+.Xr login 1
+sessions at boot.
+.Pp
+Register, text, and pixel devices may be accessed using
+.Xr read 2
+and
+.Xr write 2
+system calls, and also memory mapped using
+.Xr mmap 2 .
+.Sh SEE ALSO
+.Xr login 1 ,
+.Xr ioctl 2 ,
+.Xr mmap 2 ,
+.Xr poll 2 ,
+.Xr read 2 ,
+.Xr write 2 ,
+.Xr syscons 4 ,
+.Xr tty 4 ,
+.Xr ttys 5
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Fx 10.0 .
+.Sh AUTHORS
+The
+.Nm
+device driver and this manual page were
+developed by SRI International and the University of Cambridge Computer
+Laboratory under DARPA/AFRL contract
+.Pq FA8750-10-C-0237
+.Pq Do CTSRD Dc ,
+as part of the DARPA CRASH research programme.
+This device driver was written by
+.An Robert N. M. Watson .
+.Sh BUGS
+The
+.Xr syscons 4
+attachment does not support the hardware cursor feature.
+.Pp
+A more structured interface to control registers using the
+.Xr ioctl 2
+system call, would sometimes be preferable to memory mapping.
+For touch screen input, it would be highly desirable to offer a streaming
+interface whose events can be managed using
+.Xr poll 2
+and related system calls, with the kernel performing polling rather than the
+userspace application.
+.Pp
+.Nm
+supports only a
+.Li nexus
+bus attachment, which is appropriate for system-on-chip busses such as
+Altera's Avalon bus.
+If the IP core is configured off of another bus type, then additional bus
+attachments will be required.


Property changes on: trunk/share/man/man4/terasic_mtl.4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/share/man/man4/termios.4
===================================================================
--- trunk/share/man/man4/termios.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/termios.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1991, 1992, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,7 +31,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"	@(#)termios.4	8.4 (Berkeley) 4/19/94
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/termios.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd December 26, 2009
 .Dt TERMIOS 4

Modified: trunk/share/man/man4/textdump.4
===================================================================
--- trunk/share/man/man4/textdump.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/textdump.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2007 Robert N. M. Watson
 .\" All rights reserved.
@@ -25,7 +26,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 .\" DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/textdump.4 242495 2012-11-02 21:47:21Z joel $
 .\"
 .Dd December 24, 2008
 .Dt TEXTDUMP 4
@@ -34,8 +35,11 @@
 .Nm textdump
 .Nd textdump kernel dumping facility
 .Sh SYNOPSIS
+.Cd options DDB
 .Cd options KDB
-.Cd options DDB
+.Pp
+.Cd options TEXTDUMP_PREFERRED
+.Cd options TEXTDUMP_VERBOSE
 .Sh DESCRIPTION
 The
 .Nm
@@ -116,6 +120,10 @@
 sysctl to 1 using
 .Xr sysctl 8 ,
 it is possible to request that the next dump be a textdump.
+One may also directly trigger a textdump in
+.Xr ddb 4
+by running the command
+.Ic textdump dump .
 .Pp
 If at the
 .Xr ddb 4
@@ -129,6 +137,23 @@
 As with regular kernel dumps, a dump partition must be automatically or
 manually configured using
 .Xr dumpon 8 .
+.Pp
+Additional kernel
+.Xr config 8
+options:
+.Bl -tag -width TEXTDUMP_PREFERRED
+.It Cd TEXTDUMP_PREFERRED
+sets textdumps to be the default manner of doing dumps.
+This means there will be no need to
+.Xr sysctl 8
+or use the
+.Ic textdump set
+.Xr ddb 8
+commands.
+.It Cd TEXTDUMP_VERBOSE
+will have the textdump facility be more verbose about each file it is emitting
+as well as other diagnostics useful to debug the textdump facility itself.
+.El
 .Sh EXAMPLES
 In the following example, the script
 .Dv kdb.enter.panic

Modified: trunk/share/man/man4/ti.4
===================================================================
--- trunk/share/man/man4/ti.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ti.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997, 1998, 1999
 .\"	Bill Paul <wpaul at ctr.columbia.edu>. All rights reserved.
 .\"
@@ -28,7 +29,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ti.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd November 14, 2011
 .Dt TI 4

Modified: trunk/share/man/man4/timecounters.4
===================================================================
--- trunk/share/man/man4/timecounters.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/timecounters.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2011 Alexander Motin <mav at FreeBSD.org>
 .\" All rights reserved.
 .\"
@@ -22,9 +23,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/timecounters.4 287042 2015-08-23 18:03:43Z ian $
 .\"
-.Dd December 20, 2011
+.Dd August 12, 2015
 .Dt TIMECOUNTERS 4
 .Os
 .Sh NAME
@@ -31,20 +32,20 @@
 .Nm timecounters
 .Nd kernel time counters subsystem
 .Sh SYNOPSIS
-Kernel uses several types of time-related devices, such as: real time clocks,
+The kernel uses several types of time-related devices, such as: real time clocks,
 time counters and event timers.
-Real time clocks responsible for tracking real world time, mostly when system
+Real time clocks are responsible for tracking real world time, mostly when the system
 is down.
-Time counters are responsible for tracking purposes, when system is running.
-Event timers are responsible for generating interrupts at specified time or
+Time counters are responsible for tracking purposes, when the system is running.
+Event timers are responsible for generating interrupts at a specified time or
 periodically, to run different time-based events.
 This page is about the second.
 .Sh DESCRIPTION
-Time counters are the lowest level of time tracking in kernel.
+Time counters are the lowest level of time tracking in the kernel.
 They provide monotonically increasing timestamps with known width and
 update frequency.
-They can overflow, drift, etc and so in raw form used only in very limited
-performance-critical places like process scheduler.
+They can overflow, drift, etc and so in raw form can be used only in very limited
+performance-critical places like the process scheduler.
 .Pp
 More usable time is created by scaling the values read from the selected
 time counter and combining it with some offset, regularly updated by
@@ -54,13 +55,14 @@
 invocation.
 .Pp
 Different platforms provide different kinds of timer hardware.
-The goal of the time counters subsystem is to provide unified way to access
+The goal of the time counters subsystem is to provide a unified way to access
 that hardware.
 .Pp
-Each driver implementing time counters, registers them at the subsystem.
-It is possible to see the list of present time counters, like this, via
+Each driver implementing time counters registers them with the subsystem.
+It is possible to see the list of present time counters, via the
 .Va kern.timecounter
-sysctl:
+.Xr sysctl 8
+variable:
 .Bd -literal
 kern.timecounter.choice: TSC-low(-100) HPET(950) i8254(0) ACPI-fast(900) dummy(-1000000)
 kern.timecounter.tc.ACPI-fast.mask: 16777215
@@ -81,7 +83,7 @@
 kern.timecounter.tc.TSC-low.quality: -100
 .Ed
 .Pp
-where:
+The output nodes are defined as follows:
 .Bl -inset
 .It Va kern.timecounter.tc. Ns Ar X Ns Va .mask
 is a bitmask, defining valid counter bits,
@@ -90,16 +92,23 @@
 .It Va kern.timecounter.tc. Ns Ar X Ns Va .frequency
 is a counter update frequency,
 .It Va kern.timecounter.tc. Ns Ar X Ns Va .quality
-is an integral value, defining how good is this time counter,
-comparing to others.
-Negative value means that this time counter is broken and should not be used.
+is an integral value, defining the quality of this time counter
+compared to others.
+A negative value means this time counter is broken and should not be used.
 .El
 .Pp
-Time management code of the kernel chooses one time counter from that list.
-Current choice can be read and affected via
+The time management code of the kernel automatically switches to a
+higher-quality time counter when it registers, unless the
 .Va kern.timecounter.hardware
-tunable/sysctl.
+sysctl has been used to choose a specific device.
+.Pp
+There is no way to unregister a time counter once it has registered
+with the kernel.
+If a dynamically loaded module contains a time counter you will not
+be able to unload that module, even if the time counter it contains
+is not the one currently in use.
 .Sh SEE ALSO
 .Xr attimer 4 ,
 .Xr eventtimers 4 ,
+.Xr ffclock 4 ,
 .Xr hpet 4

Modified: trunk/share/man/man4/tl.4
===================================================================
--- trunk/share/man/man4/tl.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/tl.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997, 1998
 .\"	Bill Paul <wpaul at ctr.columbia.edu>. All rights reserved.
 .\"
@@ -28,7 +29,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/tl.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd July 16, 2005
 .Dt TL 4

Modified: trunk/share/man/man4/tnt4882.4
===================================================================
--- trunk/share/man/man4/tnt4882.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/tnt4882.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2010, Joerg Wunsch
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/tnt4882.4 265695 2014-05-08 19:03:04Z brueffer $
 .\"
 .Dd January 24, 2010
 .Dt TNT4882 4
@@ -44,7 +45,7 @@
 interface between the host computer and the instrument bus.
 .Sh SEE ALSO
 .Xr gpib 3 ,
-.Xr gpib 4 ,
+.Xr gpib 4
 .Sh HISTORY
 The
 .Nm

Modified: trunk/share/man/man4/tpm.4
===================================================================
--- trunk/share/man/man4/tpm.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/tpm.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2010 Hans-Joerg Hoexer
 .\"
@@ -13,7 +14,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/tpm.4 233648 2012-03-29 05:02:12Z eadler $
 .\"
 .Dd August 15, 2010
 .Dt TPM 4
@@ -48,7 +49,7 @@
 The
 .Nm
 driver provides support for various trusted platform modules (TPM) that can
-store cryptographic keys. 
+store cryptographic keys.
 .Pp
 Supported modules:
 .Pp

Modified: trunk/share/man/man4/trm.4
===================================================================
--- trunk/share/man/man4/trm.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/trm.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"	$NetBSD: trm.4,v 1.3 2001/11/11 05:24:45 tsutsui Exp $
 .\"
 .\" Copyright (c) 2002, David E O'Brien.  All rights reserved.
@@ -25,7 +26,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/trm.4 158762 2006-05-20 09:39:28Z brueffer $
 .\"
 .Dd December 8, 2002
 .Dt TRM 4

Modified: trunk/share/man/man4/tty.4
===================================================================
--- trunk/share/man/man4/tty.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/tty.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1991, 1992, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,7 +31,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)tty.4	8.3 (Berkeley) 4/19/94
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/tty.4 201118 2009-12-28 09:41:13Z trasz $
 .\"
 .Dd December 26, 2009
 .Dt TTY 4

Modified: trunk/share/man/man4/tun.4
===================================================================
--- trunk/share/man/man4/tun.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/tun.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,8 +1,9 @@
+.\" $MidnightBSD$
 .\" $NetBSD: tun.4,v 1.1 1996/06/25 22:17:37 pk Exp $
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/tun.4 326692 2017-12-08 15:26:57Z hselasky $
 .\" Based on PR#2411
 .\"
-.Dd February 4, 2007
+.Dd November 29, 2017
 .Dt TUN 4
 .Os
 .Sh NAME
@@ -35,6 +36,17 @@
 and a character-special device
 .Dq control
 interface.
+A client program transfers IP (by default) packets to or from the 
+.Nm
+.Dq control
+interface.
+The
+.Xr tap 4
+interface provides similar functionality at the Ethernet layer:
+a client will transfer Ethernet frames to or from a
+.Xr tap 4
+.Dq control
+interface.
 .Pp
 The network interfaces are named
 .Dq Li tun0 ,
@@ -197,8 +209,15 @@
 .It Dv TUNSIFINFO
 The argument should be a pointer to an
 .Vt struct tuninfo
-and allows setting the MTU, the type, and the baudrate of the tunnel
+and allows setting the MTU and the baudrate of the tunnel
 device.
+The type must be the same as returned by
+.Dv TUNGIFINFO
+or set to
+.Dv IFT_PPP
+else the
+.Xr ioctl 2
+call will fail.
 The
 .Vt struct tuninfo
 is declared in
@@ -307,6 +326,7 @@
 .Xr inet 4 ,
 .Xr intro 4 ,
 .Xr pty 4 ,
+.Xr tap 4 ,
 .Xr ifconfig 8
 .Sh AUTHORS
 This manual page was originally obtained from

Modified: trunk/share/man/man4/twa.4
===================================================================
--- trunk/share/man/man4/twa.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/twa.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2004 3ware, Inc.
 .\" Copyright (c) 2000 BSDi
@@ -23,7 +24,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/twa.4 208027 2010-05-13 12:07:55Z uqs $
 .\"
 .Dd May 9, 2007
 .Dt TWA 4


Property changes on: trunk/share/man/man4/twa.4
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Modified: trunk/share/man/man4/twe.4
===================================================================
--- trunk/share/man/man4/twe.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/twe.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2000 Michael Smith
 .\" Copyright (c) 2000 BSDi
@@ -22,7 +23,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/twe.4 158762 2006-05-20 09:39:28Z brueffer $
 .\"
 .Dd August 15, 2004
 .Dt TWE 4

Modified: trunk/share/man/man4/u3g.4
===================================================================
--- trunk/share/man/man4/u3g.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/u3g.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2008 AnyWi Technologies
 .\" All rights reserved.
@@ -16,9 +17,9 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/u3g.4 259601 2013-12-19 07:12:34Z truckman $
 .\"
-.Dd February 8, 2012
+.Dd November 26, 2013
 .Dt U3G 4
 .Os
 .Sh NAME
@@ -29,6 +30,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device u3g"
 .Ed
 .Pp
@@ -38,6 +41,9 @@
 .Bd -literal -offset indent
 u3g_load="YES"
 .Ed
+.Pp
+If neither of the above is done, the driver will automatically be loaded
+by devd(8) when the device is connected.
 .Sh DESCRIPTION
 The
 .Nm
@@ -61,6 +67,8 @@
 .It
 Vodafone Mobile Connect Card 3G
 .It
+Vodafone Mobile Broadband K3772-Z
+.It
 Qualcomm Inc. CDMA MSM
 .It
 Huawei B190, E180v, E220 ('<Huawei Mobile>')
@@ -89,12 +97,12 @@
 .Xr usbconfig 8
 and
 .Xr usb_quirk 4 .
-.Pp
 .Sh SEE ALSO
 .Xr tty 4 ,
 .Xr ucom 4 ,
 .Xr usb 4 ,
 .Xr usb_quirk 4 ,
+.Xr devd 8 ,
 .Xr usbconfig 8
 .Sh HISTORY
 The
@@ -114,3 +122,7 @@
 and
 .An Nick Hibma Aq n_hibma at FreeBSD.org .
 Hardware for testing was provided by AnyWi Technologies, Leiden, NL.
+.Sh BUGS
+The automatic mode switch from disk mode to modem mode does not work unless
+the driver is either built into the kernel or loaded before the device is
+connected.

Modified: trunk/share/man/man4/udav.4
===================================================================
--- trunk/share/man/man4/udav.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/udav.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"	$NetBSD$
 .\"
 .\" Copyright (c) 2003
@@ -30,9 +31,9 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 .\" THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/udav.4 291844 2015-12-05 07:46:37Z kevlo $
 .\"
-.Dd July 16, 2005
+.Dd November 24, 2015
 .Dt UDAV 4
 .Os
 .Sh NAME
@@ -48,6 +49,7 @@
 .Cd "device ohci"
 .Cd "device usb"
 .Cd "device miibus"
+.Cd "device uether"
 .Cd "device udav"
 .Ed
 .Pp
@@ -87,7 +89,7 @@
 .Xr ifconfig 8
 .Rs
 .%T "Davicom DM9601 data sheet"
-.%U http://www.davicom.com.tw/big5/download/Data%20Sheet/DM9601-DS-P01-930914.pdf
+.%U http://ptm2.cc.utu.fi/ftp/network/cards/DM9601/From_NET/DM9601-DS-P01-930914.pdf
 .Re
 .Sh HISTORY
 The

Modified: trunk/share/man/man4/udbp.4
===================================================================
--- trunk/share/man/man4/udbp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/udbp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1999
 .\"	Nick Hibma <n_hibma at FreeBSD.org>. All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/udbp.4 204739 2010-03-04 22:06:57Z joel $
 .\"
 .Dd November 22, 2006
 .Dt UDBP 4

Modified: trunk/share/man/man4/udp.4
===================================================================
--- trunk/share/man/man4/udp.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/udp.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,7 +31,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)udp.4	8.1 (Berkeley) 6/5/93
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/udp.4 248278 2013-03-14 19:56:21Z joel $
 .\"
 .Dd June 5, 1993
 .Dt UDP 4
@@ -103,29 +104,6 @@
 .Tn UDP ;
 see
 .Xr ip 4 .
-.Sh ERRORS
-A socket operation may fail with one of the following errors returned:
-.Bl -tag -width Er
-.It Bq Er EISCONN
-when trying to establish a connection on a socket which
-already has one, or when trying to send a datagram with the destination
-address specified and the socket is already connected;
-.It Bq Er ENOTCONN
-when trying to send a datagram, but
-no destination address is specified, and the socket has not been
-connected;
-.It Bq Er ENOBUFS
-when the system runs out of memory for
-an internal data structure;
-.It Bq Er EADDRINUSE
-when an attempt
-is made to create a socket with a port which has already been
-allocated;
-.It Bq Er EADDRNOTAVAIL
-when an attempt is made to create a
-socket with a network address for which no network interface
-exists.
-.El
 .Sh MIB VARIABLES
 The
 .Nm
@@ -154,6 +132,29 @@
 See
 .Xr blackhole 4 . )
 .El
+.Sh ERRORS
+A socket operation may fail with one of the following errors returned:
+.Bl -tag -width Er
+.It Bq Er EISCONN
+when trying to establish a connection on a socket which
+already has one, or when trying to send a datagram with the destination
+address specified and the socket is already connected;
+.It Bq Er ENOTCONN
+when trying to send a datagram, but
+no destination address is specified, and the socket has not been
+connected;
+.It Bq Er ENOBUFS
+when the system runs out of memory for
+an internal data structure;
+.It Bq Er EADDRINUSE
+when an attempt
+is made to create a socket with a port which has already been
+allocated;
+.It Bq Er EADDRNOTAVAIL
+when an attempt is made to create a
+socket with a network address for which no network interface
+exists.
+.El
 .Sh SEE ALSO
 .Xr getsockopt 2 ,
 .Xr recv 2 ,

Modified: trunk/share/man/man4/udplite.4
===================================================================
--- trunk/share/man/man4/udplite.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/udplite.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,100 +1,4 @@
-.\" Copyright (c) 2014, Kevin Lo.
-.\" All rights reserved.
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\"    notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\"    notice, this list of conditions and the following disclaimer in the
-.\"    documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-.\" SUCH DAMAGE.
-.\"
-.\" $FreeBSD: stable/10/share/man/man4/udplite.4 272661 2014-10-06 17:04:26Z tuexen $
 .\" $MidnightBSD$
-.\"
-.Dd November 17, 2014
-.Dt UDPLITE 4
-.Os
-.Sh NAME
-.Nm udplite
-.Nd Lightweight User Datagram Protocol
-.Sh SYNOPSIS
-.In sys/types.h
-.In sys/socket.h
-.In netinet/udplite.h
-.Ft int
-.Fn socket AF_INET SOCK_DGRAM IPPROTO_UDPLITE
-.Sh DESCRIPTION
-The
-.Tn UDP-Lite
-protocol provides a partial checksum which allows
-corrupted packets to be transmitted to the receiving
-application.
-This has advantages for some types of multimedia
-transport that may be able to make use of slightly
-damaged datagrams, rather than having them discarded
-by lower-layer protocols.
-.Pp
-.Tn UDP-Lite
-supports a number of socket options which can be set with
-.Xr setsockopt 2
-and tested with
-.Xr getsockopt 2 :
-.Bl -tag -width ".Dv UDPLITE_SEND_CSCOV"
-.It Dv UDPLITE_SEND_CSCOV
-This option sets the sender checksum coverage.
-A value of zero indicates that all sent packets will have
-full checksum coverage.
-A value of 8 to 65535 limits the checksum coverage of all sent packets
-to the value given.
-.It Dv UDPLITE_RECV_CSCOV
-This option is the receiver-side analogue.
-A value of zero instructs the kernel to drop all received packets
-not having full checksum coverage.
-A value of 8 to 65535 instructs the kernel to drop all received
-packets with a partial checksum coverage smaller than the value specified.
-.El
-.Sh ERRORS
-A socket operation may fail with one of the following errors returned:
-.Bl -tag -width Er
-.It Bq Er EISCONN
-when trying to establish a connection on a socket which
-already has one, or when trying to send a datagram with the destination
-address specified and the socket is already connected;
-.It Bq Er ENOTCONN
-when trying to send a datagram, but
-no destination address is specified, and the socket has not been
-connected;
-.It Bq Er ENOBUFS
-when the system runs out of memory for
-an internal data structure;
-.It Bq Er EADDRINUSE
-when an attempt
-is made to create a socket with a port which has already been
-allocated;
-.It Bq Er EADDRNOTAVAIL
-when an attempt is made to create a
-socket with a network address for which no network interface
-exists.
-.El
-.Sh SEE ALSO
-.Xr getsockopt 2 ,
-.Xr recv 2 ,
-.Xr send 2 ,
-.Xr socket 2
 .\" Copyright (c) 2014, Kevin Lo.
 .\" All rights reserved.
 .\"
@@ -120,9 +24,8 @@
 .\" SUCH DAMAGE.
 .\"
 .\" $FreeBSD: stable/10/share/man/man4/udplite.4 272661 2014-10-06 17:04:26Z tuexen $
-.\" $MidnightBSD$
 .\"
-.Dd November 17, 2014
+.Dd October 1, 2014
 .Dt UDPLITE 4
 .Os
 .Sh NAME

Modified: trunk/share/man/man4/uep.4
===================================================================
--- trunk/share/man/man4/uep.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/uep.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2010 Gleb Smirnoff <glebius at FreeBSD.org>
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/uep.4 222600 2011-06-02 09:56:53Z uqs $
 .\"
 .Dd May 25, 2010
 .Dt UEP 4

Modified: trunk/share/man/man4/ufoma.4
===================================================================
--- trunk/share/man/man4/ufoma.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ufoma.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2006 Takanori Watanabe.
 .\" All rights reserved.
 .\"
@@ -25,9 +26,9 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ufoma.4 233648 2012-03-29 05:02:12Z eadler $
 .\"
-.Dd November 22, 2006
+.Dd November 20, 2011
 .Dt UFOMA 4
 .Os
 .Sh NAME
@@ -38,6 +39,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device ufoma"
 .Ed
 .Pp

Modified: trunk/share/man/man4/uftdi.4
===================================================================
--- trunk/share/man/man4/uftdi.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/uftdi.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $NetBSD: uftdi.4,v 1.5 2002/02/07 03:15:08 ross Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -27,19 +28,22 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/uftdi.4 287035 2015-08-23 16:17:00Z ian $
 .\"
-.Dd November 22, 2006
+.Dd August 6, 2015
 .Dt UFTDI 4
 .Os
 .Sh NAME
 .Nm uftdi
-.Nd USB support for serial adapters based on the FT8U100AX and FT8U232AM chips
+.Nd USB support for serial adapters based on the FTDI family of USB
+serial adapter chips.
 .Sh SYNOPSIS
 To compile this driver into the kernel,
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uftdi"
 .Ed
 .Pp
@@ -52,13 +56,172 @@
 .Sh DESCRIPTION
 The
 .Nm
-driver provides support for various serial adapters based on the FTDI
-FT2232C, FT8U100AX and FT8U232AM chips.
+driver provides support for various serial adapters based on the
+following FTDI chips:
 .Pp
+.Bl -bullet -compact
+.It
+FT8U100AX
+.It
+FT8U232AM
+.It
+FT8U232BM
+.It
+FT232R
+.It
+FT2232C
+.It
+FT2232D
+.It
+FT2232H
+.It
+FT4232H
+.It
+FT230X
+.El
+.Pp
 The device is accessed through the
 .Xr ucom 4
 driver which makes it behave like a
 .Xr tty 4 .
+.Pp
+Many of the supported chips provide additional functionality
+such as bitbang mode and the MPSSE engine for serial bus emulation.
+The
+.Nm
+driver provides access to that functionality with the following
+.Xr ioctl 2
+calls, defined in
+.In dev/usb/uftdiio.h :
+.Bl -tag -width indent
+.It Dv UFTDIIOC_RESET_IO Pq Vt int
+Reset the channel to its default configuration, flush RX and TX FIFOs.
+.It Dv UFTDIIOC_RESET_RX Pq Vt int
+Flush the RX FIFO.
+.It Dv UFTDIIOC_RESET_TX Pq Vt int
+Flush the TX FIFO.
+.It Dv UFTDIIOC_SET_BITMODE Pq Vt "struct uftdi_bitmode"
+Put the channel into the operating mode specified in
+.Va mode ,
+and set the pins indicated by ones in
+.Va iomask
+to output mode.
+The
+.Va mode
+must be one of the
+.Va uftdi_bitmodes
+values.
+Setting
+.Va mode
+to
+.Dv UFTDI_BITMODE_NONE
+returns the channel to standard UART mode.
+.Bd -literal
+enum uftdi_bitmodes
+{
+	UFTDI_BITMODE_ASYNC = 0,
+	UFTDI_BITMODE_MPSSE = 1,
+	UFTDI_BITMODE_SYNC = 2,
+	UFTDI_BITMODE_CPU_EMUL = 3,
+	UFTDI_BITMODE_FAST_SERIAL = 4,
+	UFTDI_BITMODE_CBUS = 5,
+	UFTDI_BITMODE_NONE = 0xff,
+};
+
+struct uftdi_bitmode
+{
+	uint8_t mode;
+	uint8_t iomask;
+};
+.Ed
+.Pp
+Manuals and application notes published by FTDI describe these
+modes in detail.
+To use most of these modes, you first put the channel into
+the desired mode, then you
+.Xr read 2
+and
+.Xr write 2
+data which either reflects pin state or is interpreted
+as MPSSE commands and parameters, depending on the mode.
+.It Dv UFTDIIOC_GET_BITMODE Pq Vt "struct uftdi_bitmode"
+Return the current bitbang mode in the
+.Va mode
+member, and the state of the DBUS0..DBUS7 pins at the time
+of the call in the
+.Va iomask
+member.
+The pin state can be read while the chip is in any mode, including
+.Dv UFTDI_BITMODE_NONE
+(UART) mode.
+.It Dv UFTDIIOC_SET_ERROR_CHAR Pq Vt int
+Set the character which is inserted into the buffer to mark
+the point of an error such as FIFO overflow.
+.It Dv UFTDIIOC_SET_EVENT_CHAR Pq Vt int
+Set the character which causes a partial FIFO full of data
+to be returned immediately even if the FIFO is not full.
+.It Dv UFTDIIOC_SET_LATENCY Pq Vt int
+Set the amount of time to wait for a full FIFO,
+in milliseconds.
+If more than this much time elapses without receiving a new
+character, any characters in the FIFO are returned.
+.It Dv UFTDIIOC_GET_LATENCY Pq Vt int
+Get the current value of the latency timer.
+.It Dv UFTDIIOC_GET_HWREV Pq Vt int
+Get the hardware revision number.
+This is the
+.Va bcdDevice
+value from the
+.Va usb_device_descriptor .
+.It Dv UFTDIIOC_READ_EEPROM Pq Vt "struct uftdi_eeio"
+Read one or more words from the configuration eeprom.
+The FTDI chip performs eeprom I/O in 16-bit words.
+Set
+.Va offset
+and
+.Va length
+to values evenly divisible by two before the call, and the
+.Va data
+array will contain the requested values from eeprom after the call.
+.Bd -literal
+struct uftdi_eeio
+{
+	uint16_t offset;
+	uint16_t length;
+	uint16_t data[64];
+};
+.Ed
+.Pp
+The FT232R chip has an internal eeprom.
+An external serial eeprom is optional on other FTDI chips.
+The eeprom may contain 64, 128, or 256 words, 
+depending on the part used.
+Multiple calls may be needed to read or write the larger parts.
+When no eeprom is present, all words in the returned data are 0xffff.
+An erased eeprom also reads as all 0xffff.
+.It Dv UFTDIIOC_WRITE_EEPROM Pq Vt "struct uftdi_eeio"
+Write one or more words to the configuration eeprom.
+The
+.Va uftdi_eeio
+values are as described for
+.Dv UFTDIIOC_READ_EEPROM .
+.Pp
+The FTDI chip does a blind write to the eeprom, and it will appear
+to succeed even when no eeprom is present.
+To ensure a good write you must read back and verify the data.
+It is
+.Em not
+necessary to erase before writing.
+Any position within the eeprom can be overwritten at any time.
+.It Dv UFTDIIOC_ERASE_EEPROM Pq Vt int
+Erase the entire eeprom.
+This is useful primarily for test and debugging, as there is no
+need to erase before writing.
+To help prevent accidental erasure caused by calling the wrong
+ioctl, you must pass the special value
+.Dv UFTDI_CONFIRM_ERASE
+as the argument to this ioctl.
+.El
 .Sh HARDWARE
 The
 .Nm

Modified: trunk/share/man/man4/ugen.4
===================================================================
--- trunk/share/man/man4/ugen.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ugen.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $NetBSD: ugen.4,v 1.13 2001/09/11 22:52:54 wiz Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -27,9 +28,9 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ugen.4 266559 2014-05-22 21:08:32Z gavin $
 .\"
-.Dd July 22, 2012
+.Dd May 16, 2014
 .Dt UGEN 4
 .Os
 .Sh NAME
@@ -292,10 +293,10 @@
 should be set to
 .Dv USB_CURRENT_ALT_INDEX .
 .Sh FILES
-.Bl -tag -width ".Pa /dev/ugen Ns Ar N Ns Pa \&. Ns Ar EE" -compact
-.It Pa /dev/ugen Ns Ar N Ns Pa \&. Ns Ar EE
+.Bl -tag -width ".Pa /dev/ugen Ns Ar N Ns Pa \&. Ns Ar E" -compact
+.It Pa /dev/ugen Ns Ar N Ns Pa \&. Ns Ar E
 Endpoint
-.Ar EE
+.Ar E
 of device
 .Ar N .
 .El

Modified: trunk/share/man/man4/uhci.4
===================================================================
--- trunk/share/man/man4/uhci.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/uhci.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1999
 .\"     Nick Hibma <n_hibma at FreeBSD.org>. All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/uhci.4 219004 2011-02-24 18:08:23Z hselasky $
 .\"
 .Dd April 20, 2005
 .Dt UHCI 4

Modified: trunk/share/man/man4/uhid.4
===================================================================
--- trunk/share/man/man4/uhid.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/uhid.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $NetBSD: uhid.4,v 1.13 2001/12/29 14:41:59 augustss Exp $
 .\"
 .\" Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -27,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/uhid.4 204605 2010-03-02 21:59:03Z joel $
 .\"
 .Dd November 22, 2006
 .Dt UHID 4

Modified: trunk/share/man/man4/uhso.4
===================================================================
--- trunk/share/man/man4/uhso.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/uhso.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2009 Fredrik Lindberg
 .\" All rights reserved.
 .\"
@@ -21,7 +22,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/uhso.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd July 20, 2010
 .Dt UHSO 4

Modified: trunk/share/man/man4/uipaq.4
===================================================================
--- trunk/share/man/man4/uipaq.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/uipaq.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $OpenBSD: uipaq.4,v 1.1 2005/06/17 23:50:35 deraadt Exp $
 .\" $NetBSD: uipaq.4,v 1.3 2008/04/30 13:10:54 martin Exp $
 .\"
@@ -28,9 +29,9 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/uipaq.4 233648 2012-03-29 05:02:12Z eadler $
 .\"
-.Dd August 24, 2008
+.Dd November 20, 2011
 .Dt UIPAQ 4
 .Os
 .Sh NAME
@@ -41,6 +42,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uipaq"
 .Ed
 .Pp
@@ -84,10 +87,10 @@
 .Xr usb 4
 .Sh HISTORY
 The
-.Fx 
+.Fx
 support was imported from
-.Nx 
-for 
+.Nx
+for
 .Fx 7.0 .
 .Nx
 added support in

Modified: trunk/share/man/man4/ukbd.4
===================================================================
--- trunk/share/man/man4/ukbd.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ukbd.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997, 1998
 .\"	Nick Hibma <n_hibma at FreeBSD.org>. All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ukbd.4 271095 2014-09-04 13:45:16Z se $
 .\"
 .Dd November 22, 2006
 .Dt UKBD 4
@@ -127,7 +128,9 @@
 The above lines will put the French ISO keymap in the ukbd driver.
 You can specify any keymap in
 .Pa /usr/share/syscons/keymaps
-with this option.
+or
+.Pa /usr/share/vt/keymaps
+(depending on the console driver being used) with this option.
 .Pp
 .D1 Cd "options KBD_DISABLE_KEYMAP_LOADING"
 .Pp
@@ -151,6 +154,7 @@
 .Xr syscons 4 ,
 .Xr uhci 4 ,
 .Xr usb 4 ,
+.Xr vt 4 ,
 .Xr config 8
 .Sh AUTHORS
 .An -nosplit

Added: trunk/share/man/man4/uled.4
===================================================================
--- trunk/share/man/man4/uled.4	                        (rev 0)
+++ trunk/share/man/man4/uled.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -0,0 +1,96 @@
+.\" $MidnightBSD$
+.\"
+.\" Copyright (c) 2014 Kevin Lo
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD: stable/10/share/man/man4/uled.4 273882 2014-10-31 07:33:56Z hselasky $
+.\"
+.Dd September 5, 2014
+.Dt ULED 4
+.Os
+.Sh NAME
+.Nm uled
+.Nd USB LED driver
+.Sh SYNOPSIS
+To compile this driver into the kernel, place the following lines into
+your kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device uled"
+.Cd "device usb"
+.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
+uled_load="YES"
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the Dream Cheeky WebMail Notifier device.
+.Pp
+Subsequently, the
+.Pa /dev/uled0
+device can be used by userland applications.
+.Sh IOCTLS
+The following
+.Xr ioctl 2
+commands can be performed on
+.Pa /dev/uled0 ,
+which are defined in
+.In dev/usb/uled_ioctl.h :
+.Bl -tag -width indent
+.It Dv ULED_GET_COLOR
+The command returns LED colors with values for RGB.
+This
+.Xr ioctl 2
+takes the following structure:
+.Bd -literal
+struct uled_color {
+	uint8_t	red;
+	uint8_t	green;
+	uint8_t	blue;
+};
+.Ed
+.Pp
+.It Dv ULED_SET_COLOR
+The command sets LED colors with values for RGB.
+It uses the same structure as above.
+.El
+.Sh FILES
+.Bl -tag -width ".Pa /dev/uled0" -compact
+.It Pa /dev/uled0
+blocking device node
+.El
+.Sh SEE ALSO
+.Xr ohci 4 ,
+.Xr uhci 4 ,
+.Xr usb 4
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Kevin Lo Aq Mt kevlo at FreeBSD.org .


Property changes on: trunk/share/man/man4/uled.4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/share/man/man4/ulpt.4
===================================================================
--- trunk/share/man/man4/ulpt.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ulpt.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $NetBSD: ulpt.4,v 1.6 2002/02/05 00:37:48 augustss Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -27,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ulpt.4 235326 2012-05-12 07:01:21Z joel $
 .\"
 .Dd November 22, 2006
 .Dt ULPT 4
@@ -56,8 +57,8 @@
 bi- or uni-directional protocol.
 The bits in the minor number select various features of the driver.
 .Bl -column "Minor Bit" "Functionxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -offset indent
-.Em "Minor Bit	Function"
-64	Do not initialize (reset) the device on the port.
+.It Em "Minor Bit" Ta Em "Function"
+.It "64" Ta "Do not initialize (reset) the device on the port."
 .El
 .Pp
 Some printers cannot handle the reset on open; in case of problems try the

Modified: trunk/share/man/man4/umass.4
===================================================================
--- trunk/share/man/man4/umass.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/umass.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1999
 .\"	Nick Hibma <n_hibma at FreeBSD.org>. All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/umass.4 230656 2012-01-28 21:21:05Z scf $
 .\"
 .Dd October 22, 2009
 .Dt UMASS 4

Modified: trunk/share/man/man4/umcs.4
===================================================================
--- trunk/share/man/man4/umcs.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/umcs.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2010 Lev Serebryakov <lev at FreeBSD.org>.
 .\" All rights reserved.
@@ -26,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/umcs.4 235317 2012-05-12 03:25:46Z gjb $
 .\"
 .Dd February 25, 2012
 .Dt UMCS 4
@@ -39,6 +40,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device umcs"
 .Ed
 .Pp
@@ -82,9 +85,6 @@
 .Xr tty 4 ,
 .Xr ucom 4 ,
 .Xr usb 4
-.Sh BUGS
-This driver doesn't support access to any fine tunes of
-chip, like RS522/RS485 mode, non-standard baudrates, etc.
 .Sh HISTORY
 The
 .Nm
@@ -97,3 +97,6 @@
 driver was written by
 .An Lev Serebryakov
 .Aq lev at FreeBSD.org .
+.Sh BUGS
+This driver doesn't support access to any fine tunes of
+chip, like RS522/RS485 mode, non-standard baudrates, etc.

Modified: trunk/share/man/man4/umct.4
===================================================================
--- trunk/share/man/man4/umct.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/umct.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"
 .\" Copyright (c) 2004 Scott Long
 .\" All rights reserved.
@@ -23,9 +24,9 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/umct.4 227750 2011-11-20 12:18:21Z miwi $
 .\"
-.Dd November 22, 2006
+.Dd November 20, 2011
 .Dt UMCT 4
 .Os
 .Sh NAME
@@ -36,6 +37,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device umct"
 .Ed
 .Pp

Modified: trunk/share/man/man4/umodem.4
===================================================================
--- trunk/share/man/man4/umodem.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/umodem.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $NetBSD: umodem.4,v 1.6 2001/09/11 23:18:55 wiz Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -27,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/umodem.4 239090 2012-08-06 08:59:39Z glebius $
 .\"
 .Dd August 6, 2012
 .Dt UMODEM 4
@@ -40,6 +41,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device umodem"
 .Ed
 .Pp

Modified: trunk/share/man/man4/ums.4
===================================================================
--- trunk/share/man/man4/ums.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ums.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1999
 .\"	Nick Hibma <n_hibma at FreeBSD.org>. All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ums.4 204739 2010-03-04 22:06:57Z joel $
 .\"
 .Dd November 27, 2006
 .Dt UMS 4

Modified: trunk/share/man/man4/unix.4
===================================================================
--- trunk/share/man/man4/unix.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/unix.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -30,9 +31,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)unix.4	8.1 (Berkeley) 6/9/93
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/unix.4 313685 2017-02-12 18:52:01Z jilles $
 .\"
-.Dd October 5, 2009
+.Dd February 3, 2017
 .Dt UNIX 4
 .Os
 .Sh NAME
@@ -123,22 +124,12 @@
 or
 .Xr sendto 2
 must be writable.
-.Sh PROTOCOLS
+.Sh CONTROL MESSAGES
 The
 .Ux Ns -domain
-protocol family is comprised of simple
-transport protocols that support the
-.Dv SOCK_STREAM ,
-.Dv SOCK_SEQPACKET ,
-and
-.Dv SOCK_DGRAM
-abstractions.
-.Dv SOCK_STREAM
-and
-.Dv SOCK_SEQPACKET
-sockets also support the communication of
+sockets support the communication of
 .Ux
-file descriptors through the use of the
+file descriptors and process credentials through the use of the
 .Va msg_control
 field in the
 .Fa msg
@@ -146,13 +137,12 @@
 .Xr sendmsg 2
 and
 .Xr recvmsg 2 .
-.Pp
-Any valid descriptor may be sent in a message.
-The file descriptor(s) to be passed are described using a
+The items to be passed are described using a
 .Vt "struct cmsghdr"
 that is defined in the include file
 .In sys/socket.h .
-The type of the message is
+.Pp
+To send file descriptors, the type of the message is
 .Dv SCM_RIGHTS ,
 and the data portion of the messages is an array of integers
 representing the file descriptors to be passed.
@@ -163,46 +153,52 @@
 .Pp
 The received descriptor is a
 .Em duplicate
-of the sender's descriptor, as if it were created with a call to
-.Xr dup 2 .
-Per-process descriptor flags, set with
-.Xr fcntl 2 ,
-are
-.Em not
-passed to a receiver.
+of the sender's descriptor, as if it were created via
+.Li dup(fd)
+or
+.Li fcntl(fd, F_DUPFD_CLOEXEC, 0)
+depending on whether
+.Dv MSG_CMSG_CLOEXEC
+is passed in the
+.Xr recvmsg 2
+call.
 Descriptors that are awaiting delivery, or that are
 purposely not received, are automatically closed by the system
 when the destination socket is closed.
 .Pp
-The effective credentials (i.e., the user ID and group list) of a
-peer on a
-.Dv SOCK_STREAM
-socket may be obtained using the
-.Dv LOCAL_PEERCRED
-socket option.
-This may be used by a server to obtain and verify the credentials of
-its client, and vice versa by the client to verify the credentials
-of the server.
-These will arrive in the form of a filled in
-.Vt "struct xucred"
-(defined in
-.In sys/ucred.h ) .
-The credentials presented to the server (the
-.Xr listen 2
-caller) are those of the client when it called
-.Xr connect 2 ;
-the credentials presented to the client (the
-.Xr connect 2
-caller) are those of the server when it called
-.Xr listen 2 .
-This mechanism is reliable; there is no way for either party to influence
-the credentials presented to its peer except by calling the appropriate
-system call (e.g.,
-.Xr connect 2
-or
-.Xr listen 2 )
-under different effective credentials.
+Credentials of the sending process can be transmitted explicitly using a
+control message of type
+.Dv SCM_CREDS
+with a data portion of type
+.Vt "struct cmsgcred" ,
+defined in
+.In sys/socket.h
+as follows:
+.Bd -literal
+struct cmsgcred {
+  pid_t	cmcred_pid;		/* PID of sending process */
+  uid_t	cmcred_uid;		/* real UID of sending process */
+  uid_t	cmcred_euid;		/* effective UID of sending process */
+  gid_t	cmcred_gid;		/* real GID of sending process */
+  short	cmcred_ngroups;		/* number of groups */
+  gid_t	cmcred_groups[CMGROUP_MAX];	/* groups */
+};
+.Ed
 .Pp
+The sender should pass a zeroed buffer which will be filled in by the system.
+.Pp
+The group list is truncated to at most
+.Dv CMGROUP_MAX
+GIDs.
+.Pp
+The process ID
+.Fa cmcred_pid
+should not be looked up (such as via the
+.Dv KERN_PROC_PID
+sysctl) for making security decisions.
+The sending process could have exited and its process ID already been
+reused for a new process.
+.Sh SOCKET OPTIONS
 .Tn UNIX
 domain sockets support a number of socket options which can be set with
 .Xr setsockopt 2
@@ -217,7 +213,13 @@
 .Dv SOCK_STREAM
 socket.
 This option provides a mechanism for the receiver to
-receive the credentials of the process as a
+receive the credentials of the process calling
+.Xr write 2 ,
+.Xr send 2 ,
+.Xr sendto 2
+or
+.Xr sendmsg 2
+as a
 .Xr recvmsg 2
 control message.
 The
@@ -242,6 +244,10 @@
 };
 .Ed
 .Pp
+The current implementation truncates the group list to at most
+.Dv CMGROUP_MAX
+groups.
+.Pp
 The
 .Fn SOCKCREDSIZE
 macro computes the size of the
@@ -256,6 +262,34 @@
 cmsg_level = SOL_SOCKET
 cmsg_type = SCM_CREDS
 .Ed
+.Pp
+On
+.Dv SOCK_STREAM
+and
+.Dv SOCK_SEQPACKET
+sockets credentials are passed only on the first read from a socket,
+then the system clears the option on the socket.
+.Pp
+This option and the above explicit
+.Vt "struct cmsgcred"
+both use the same value
+.Dv SCM_CREDS
+but incompatible control messages.
+If this option is enabled and the sender attached a
+.Dv SCM_CREDS
+control message with a
+.Vt "struct cmsgcred" ,
+it will be discarded and a
+.Vt "struct sockcred"
+will be included.
+.Pp
+Many setuid programs will
+.Xr write 2
+data at least partially controlled by the invoker,
+such as error messages.
+Therefore, a message accompanied by a particular
+.Fa sc_euid
+value should not be trusted as being from that user.
 .It Dv LOCAL_CONNWAIT
 Used with
 .Dv SOCK_STREAM
@@ -264,8 +298,62 @@
 function to block until
 .Xr accept 2
 has been called on the listening socket.
+.It Dv LOCAL_PEERCRED
+Requested via
+.Xr getsockopt 2
+on a
+.Dv SOCK_STREAM
+socket returns credentials of the remote side.
+These will arrive in the form of a filled in
+.Vt xucred
+structure, defined in
+.In sys/ucred.h
+as follows:
+.Bd -literal 
+struct xucred {
+  u_int	cr_version;		/* structure layout version */
+  uid_t	cr_uid;			/* effective user id */
+  short	cr_ngroups;		/* number of groups */
+  gid_t	cr_groups[XU_NGROUPS];	/* groups */
+};
+.Ed
+The
+.Vt cr_version
+fields should be checked against
+.Dv XUCRED_VERSION
+define.
+.Pp
+The credentials presented to the server (the
+.Xr listen 2
+caller) are those of the client when it called
+.Xr connect 2 ;
+the credentials presented to the client (the
+.Xr connect 2
+caller) are those of the server when it called
+.Xr listen 2 .
+This mechanism is reliable; there is no way for either party to influence
+the credentials presented to its peer except by calling the appropriate
+system call (e.g.,
+.Xr connect 2
+or
+.Xr listen 2 )
+under different effective credentials.
+.Pp
+To reliably obtain peer credentials on a
+.Dv SOCK_DGRAM
+socket refer to the
+.Dv LOCAL_CREDS
+socket option.
 .El
 .Sh SEE ALSO
+.Xr connect 2 ,
+.Xr dup 2 ,
+.Xr fcntl 2 ,
+.Xr getsockopt 2 ,
+.Xr listen 2 ,
+.Xr recvmsg 2 ,
+.Xr sendto 2 ,
+.Xr setsockopt 2 ,
 .Xr socket 2 ,
 .Xr intro 4
 .Rs

Modified: trunk/share/man/man4/upgt.4
===================================================================
--- trunk/share/man/man4/upgt.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/upgt.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,5 +1,6 @@
+.\" $MidnightBSD$
 .\" $OpenBSD: upgt.4,v 1.6 2008/04/17 14:01:22 jmc Exp $
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/upgt.4 233648 2012-03-29 05:02:12Z eadler $
 .\"
 .\" Copyright (c) 2007 Marcus Glocker <mglocker at openbsd.org>
 .\" Copyright (c) 2005-2007

Modified: trunk/share/man/man4/uplcom.4
===================================================================
--- trunk/share/man/man4/uplcom.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/uplcom.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $NetBSD: uplcom.4,v 1.9 2002/02/07 03:15:09 ross Exp $
 .\"
 .\" Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -27,7 +28,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/uplcom.4 299386 2016-05-10 20:12:27Z wblock $
 .\"
 .Dd July 25, 2012
 .Dt UPLCOM 4
@@ -40,6 +41,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uplcom"
 .Ed
 .Pp
@@ -96,7 +99,7 @@
 .It
 Hama USB RS-232 Serial Adapter
 .It
-Hamlet exagerate XURS232
+Hamlet exaggerate XURS232
 .It
 HP LD220 Point-Of-Sale (POS) Display
 .It

Modified: trunk/share/man/man4/ural.4
===================================================================
--- trunk/share/man/man4/ural.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/ural.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2005, 2006
 .\"     Damien Bergamini <damien.bergamini at free.fr>
 .\"
@@ -13,7 +14,7 @@
 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/ural.4 213573 2010-10-08 12:40:16Z uqs $
 .\"
 .Dd April 13, 2008
 .Dt URAL 4

Modified: trunk/share/man/man4/urio.4
===================================================================
--- trunk/share/man/man4/urio.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/urio.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2000 Dirk-Willem van Gulik <dirkx at webweaving.org>
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/urio.4 205196 2010-03-15 20:25:28Z joel $
 .\"
 .Dd November 22, 2006
 .Dt URIO 4

Added: trunk/share/man/man4/urndis.4
===================================================================
--- trunk/share/man/man4/urndis.4	                        (rev 0)
+++ trunk/share/man/man4/urndis.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -0,0 +1,102 @@
+.\" $MidnightBSD$
+.\" Copyright (c) 2010 Michael Knudsen <mk at openbsd.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\"
+.\"    - Redistributions of source code must retain the above copyright
+.\"      notice, this list of conditions and the following disclaimer.
+.\"    - Redistributions in binary form must reproduce the above
+.\"      copyright notice, this list of conditions and the following
+.\"      disclaimer in the documentation and/or other materials provided
+.\"      with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.\" $OpenBSD: urndis.4,v 1.15 2013/07/16 16:05:49 schwarze Exp $
+.\"
+.\" $FreeBSD: stable/10/share/man/man4/urndis.4 291844 2015-12-05 07:46:37Z kevlo $
+.\"
+.Dd September 25, 2014
+.Dt URNDIS 4
+.Os
+.Sh NAME
+.Nm urndis
+.Nd USB Remote NDIS Ethernet device
+.Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device ehci"
+.Cd "device uhci"
+.Cd "device ohci"
+.Cd "device xhci"
+.Cd "device usb"
+.Cd "device miibus"
+.Cd "device uether"
+.Cd "device urndis"
+.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
+if_urndis_load="YES"
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver provides Ethernet access over Remote NDIS (RNDIS),
+allowing mobile devices such as phones and tablets to provide network access.
+It is often referred to as USB tethering,
+and in most cases must be explicitly enabled on the device.
+.Pp
+.Nm
+should work with any USB RNDIS devices,
+such as those commonly found on Android devices.
+It does not support different media types or options.
+For more information on configuring this device, see
+.Xr ifconfig 8 .
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr cdce 4 ,
+.Xr ipheth 4 ,
+.Xr netintro 4 ,
+.Xr usb 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Ox 4.7 .
+The first
+.Fx
+release to include it was
+.Fx 9.3 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Jonathan Armani Aq Mt armani at openbsd.org ,
+.An Michael Knudsen Aq Mt mk at openbsd.org ,
+and
+.An Fabien Romano Aq Mt fabien at openbsd.org .
+It was ported to
+.Fx
+by
+.An Hans Petter Selasky Aq Mt hps at FreeBSD.org .


Property changes on: trunk/share/man/man4/urndis.4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/share/man/man4/urtw.4
===================================================================
--- trunk/share/man/man4/urtw.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/urtw.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2008 Weongyo Jeong
 .\" All rights reserved.
 .\"
@@ -22,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/urtw.4 213573 2010-10-08 12:40:16Z uqs $
 .\"
 .Dd October 17, 2009
 .Dt URTW 4

Added: trunk/share/man/man4/urtwn.4
===================================================================
--- trunk/share/man/man4/urtwn.4	                        (rev 0)
+++ trunk/share/man/man4/urtwn.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -0,0 +1,161 @@
+.\" $MidnightBSD$
+.\" Copyright (c) 2010 Damien Bergamini <damien.bergamini at free.fr>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.\" $FreeBSD: stable/10/share/man/man4/urtwn.4 272590 2014-10-06 06:03:25Z hselasky $
+.\"
+.Dd May 3, 2014
+.Dt URTWN 4
+.Os
+.Sh NAME
+.Nm urtwn
+.Nd Realtek RTL8188CU/RTL8188RU/RTL8188EU/RTL8192CU USB IEEE 802.11b/g/n wireless network device
+.Sh SYNOPSIS
+To compile this driver into the kernel,
+place the following lines in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device ehci"
+.Cd "device uhci"
+.Cd "device ohci"
+.Cd "device usb"
+.Cd "device urtwn"
+.Cd "device wlan"
+.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
+if_urtwn_load="YES"
+.Ed
+.Pp
+In both cases, place the following line in
+.Xr loader.conf 5
+to acknowledge the firmware license (see below):
+.Bd -literal -offset indent
+legal.realtek.license_ack=1
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver supports USB 2.0 wireless network devices based on Realtek
+RTL8188CUS, RTL8188CE-VAU, RTL8188EUS, RTL8188RU and RTL8192CU chipsets.
+.Pp
+The RTL8188CUS and RTL8188EUS are highly integrated 802.11n adapter that
+combine a MAC, a 1T1R capable baseband and an RF in a single chip.
+They operate in the 2GHz spectrum only.
+The RTL8188RU is a high-power variant of the RTL8188CUS.
+The RTL8188CE-VAU is a PCI Express Mini Card adapter that attaches
+to the USB interface.
+.Pp
+The RTL8192CU is a highly integrated multiple-in, multiple-out (MIMO)
+802.11n adapter that combines a MAC, a 2T2R capable baseband and an
+RF in a single chip.
+It operates in the 2GHz spectrum only.
+.Pp
+This driver requires the firmware built with the
+.Nm urtwnfw
+module to work.
+For the loaded firmware to be enabled for use the license at
+.Pa /usr/share/doc/legal/realtek
+must be agreed by adding the following line to
+.Xr loader.conf 5 :
+.Pp
+.Dl "legal.realtek.license_ack=1"
+.Sh FILES
+.Bl -tag -width ".Pa /usr/share/doc/legal/realtek" -compact
+.It Pa /usr/share/doc/legal/realtek
+.Nm
+firmware license
+.El
+.Sh HARDWARE
+The
+.Nm
+driver supports Realtek RTL8188CU/RTL8188RU/RTL8188EU/RTL8192CU based USB
+IEEE 802.11b/g/n wireless network adapters, including:
+.Pp
+.Bl -tag -width Ds -offset indent -compact
+.It Alfa AWUS036NHR v2
+.It ASUS USB-N10 NANO
+.It Belkin F7D1102 Surf Wireless Micro
+.It D-Link DWA-125 rev D1
+.It D-Link DWA-131
+.It Edimax EW-7811Un
+.It Netgear WNA1000M
+.It Realtek RTL8192CU
+.It Realtek RTL8188CUS
+.It TP-LINK TL-WN723N v3
+.It TP-LINK TL-WN725N v2
+.El
+.Sh EXAMPLES
+Join an existing BSS network (i.e., connect to an access point):
+.Bd -literal -offset indent
+ifconfig wlan create wlandev urtwn0 inet 192.168.0.20 \e
+    netmask 0xffffff00
+.Ed
+.Pp
+Join a specific BSS network with network name
+.Dq Li my_net :
+.Pp
+.Dl "ifconfig wlan create wlandev urtwn0 ssid my_net up"
+.Pp
+Join a specific BSS network with 64-bit WEP encryption:
+.Bd -literal -offset indent
+ifconfig wlan create wlandev urtwn0 ssid my_net \e
+        wepmode on wepkey 0x1234567890 weptxkey 1 up
+.Ed
+.Sh DIAGNOSTICS
+.Bl -diag
+.It "urtwn%d: error %d, could not read firmware %s"
+For some reason, the driver was unable to read the microcode file from the
+filesystem.
+The file might be missing or corrupted.
+.It "urtwn%d: device timeout"
+A frame dispatched to the hardware for transmission did not complete in time.
+The driver will reset the hardware.
+This should not happen.
+.El
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr netintro 4 ,
+.Xr urtwnfw 4 ,
+.Xr usb 4 ,
+.Xr wlan 4 ,
+.Xr wlan_ccmp 4 ,
+.Xr wlan_tkip 4 ,
+.Xr wlan_wep 4 ,
+.Xr ifconfig 8 ,
+.Xr wpa_supplicant 8
+.Rs
+.%T Realtek
+.%U http://www.realtek.com.tw
+.Re
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Ox 4.9
+and
+.Fx 10.0 .
+.Sh AUTHORS
+The
+.Nm
+driver was written by
+.An Damien Bergamini Aq damien at openbsd.org .
+.Sh CAVEATS
+The
+.Nm
+driver does not support any of the 802.11n capabilities offered by the
+adapters.


Property changes on: trunk/share/man/man4/urtwn.4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/share/man/man4/urtwnfw.4
===================================================================
--- trunk/share/man/man4/urtwnfw.4	                        (rev 0)
+++ trunk/share/man/man4/urtwnfw.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -0,0 +1,78 @@
+.\" $MidnightBSD$
+.\" Copyright (c) 2013 Kevin Lo
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. The name of the author may not be used to endorse or promote products
+.\"    derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+.\"
+.\" $FreeBSD: stable/10/share/man/man4/urtwnfw.4 266578 2014-05-23 06:47:47Z hselasky $
+.\"
+.Dd April 25, 2014
+.Dt URTWNFW 4
+.Os
+.Sh NAME
+.Nm urtwnfw
+.Nd "Firmware Module for Realtek Wireless driver"
+.Sh SYNOPSIS
+To compile this module into the kernel,
+place the following line in your
+kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device urtwnfw"
+.Ed
+.Pp
+This will include three firmware images inside the kernel.
+If you want to pick only the firmware image for your network adapter choose one
+of the following:
+.Bd -ragged -offset indent
+.Cd "device urtwn-rtl8192cfwT"
+.Cd "device urtwn-rtl8192cfwU"
+.Cd "device urtwn-rtl8188eufw"
+.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
+urtwn-rtl8192cfwT_load="YES"
+urtwn-rtl8192cfwU_load="YES"
+urtwn-rtl8188eufw_load="YES"
+.Ed
+.Sh DESCRIPTION
+This module provides access to firmware sets for the
+Realtek RTL8188CUS, RTL8188CE-VAU, RTL8188EUS, RTL8188RU and RTL8192CU
+chip based USB WiFi adapters.
+It may be
+statically linked into the kernel, or loaded as a module.
+.Pp
+For the loaded firmware to be enabled for use the license at
+.Pa /usr/share/doc/legal/realtek
+must be agreed to by adding the following line to
+.Xr loader.conf 5 :
+.Pp
+.Dl "legal.realtek.license_ack=1"
+.Sh FILES
+.Bl -tag -width ".Pa /usr/share/doc/legal/realtek" -compact
+.It Pa /usr/share/doc/legal/realtek
+.Nm
+firmware license
+.El
+.Sh SEE ALSO
+.Xr urtwn 4 ,
+.Xr firmware 9


Property changes on: trunk/share/man/man4/urtwnfw.4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/share/man/man4/usb.4
===================================================================
--- trunk/share/man/man4/usb.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/usb.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 1997, 1998 Nick Hibma <n_hibma at FreeBSD.org>
 .\" Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
 .\"
@@ -22,9 +23,9 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/usb.4 318187 2017-05-11 13:50:16Z hselasky $
 .\"
-.Dd May 20, 2009
+.Dd November 26, 2013
 .Dt USB 4
 .Os
 .Sh NAME
@@ -58,7 +59,7 @@
 The
 .Nm
 driver has three layers:
-.Bl -tag
+.Bl -tag -width 6n -offset indent
 .It USB Controller (Bus)
 .It USB Device
 .It USB Driver
@@ -85,7 +86,7 @@
 .Tn USB
 is a system where external devices can be connected to a PC.
 The most common USB speeds are:
-.Bl -tag
+.Bl -tag -width 6n -offset indent
 .It Low Speed (1.5MBit/sec)
 .It Full Speed (12MBit/sec)
 .It High Speed (480MBit/sec)
@@ -144,12 +145,14 @@
 .D1 Pa http://www.usb.org/developers/docs/
 .Pp
 .Xr libusb 3 ,
-.Xr usbdi 4 ,
+.Xr usbdi 9 ,
 .Xr aue 4 ,
 .Xr axe 4 ,
+.Xr axge 4 ,
 .Xr cue 4 ,
 .Xr ehci 4 ,
 .Xr kue 4 ,
+.Xr mos 4 ,
 .Xr ohci 4 ,
 .Xr pci 4 ,
 .Xr rue 4 ,

Added: trunk/share/man/man4/usb_template.4
===================================================================
--- trunk/share/man/man4/usb_template.4	                        (rev 0)
+++ trunk/share/man/man4/usb_template.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -0,0 +1,84 @@
+.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/usb_template.4 263796 2014-03-27 06:55:26Z hselasky $
+.\"
+.\" Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.Dd March 18, 2014
+.Dt USB_TEMPLATE 4
+.Os
+.
+.Sh NAME
+.
+.
+.Nm usb_template
+.
+.Nd "USB templates"
+.
+.
+.Sh SYNOPSIS
+To compile this module into the kernel, place the following line in
+your kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device usb_template"
+.Ed
+.Pp
+To load the module at boot time, place the following line in
+.Xr loader.conf 5 :
+.Bd -literal -offset indent
+usb_template_load="YES"
+.Ed
+.
+.Sh DESCRIPTION
+The
+.Nm
+module implements various USB templates that are needed when
+programming an USB device side driver.
+.
+A USB template consists of an USB device descriptor, one or more USB
+configuration descriptors, one or more USB interface descriptors, one
+or more USB endpoint descriptors, USB strings and additional USB
+descriptors.
+.
+The USB template module currently has templates for USB Mass Storage,
+USB CDC Ethernet and Message Transfer Protocol.
+.
+USB templates are currently selected using the "hw.usb.template"
+sysctl.
+.
+The "hw.usb.template" value can be changed at any time, but will not
+have any effect until the USB device has been re-enumerated.
+.
+.
+.
+.Sh SEE ALSO
+.Xr usb 4
+.Sh STANDARDS
+The
+.Nm
+module complies to the USB 1.0, 2.0 and 3.0 standard.
+.Sh HISTORY
+The
+.Nm
+module was written by
+.An Hans Petter Selasky Aq hselasky at FreeBSD.org .


Property changes on: trunk/share/man/man4/usb_template.4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/share/man/man4/utopia.4
===================================================================
--- trunk/share/man/man4/utopia.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/utopia.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" Copyright (c) 2003
 .\"	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
 .\" 	All rights reserved.
@@ -25,7 +26,7 @@
 .\"
 .\" Author: Hartmut Brandt <harti at FreeBSD.org>
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/utopia.4 164524 2006-11-22 21:30:02Z brueffer $
 .\"
 .Dd November 22, 2006
 .Dt UTOPIA 4

Modified: trunk/share/man/man4/uvisor.4
===================================================================
--- trunk/share/man/man4/uvisor.4	2018-07-09 23:24:51 UTC (rev 11731)
+++ trunk/share/man/man4/uvisor.4	2018-07-09 23:25:53 UTC (rev 11732)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\" $NetBSD: uvisor.4,v 1.3 2001/01/23 21:31:10 augustss Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -27,9 +28,9 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man4/uvisor.4 227750 2011-11-20 12:18:21Z miwi $
 .\"
-.Dd November 22, 2006
+.Dd November 20, 2011
 .Dt UVISOR 4
 .Os
 .Sh NAME
@@ -40,6 +41,8 @@
 place the following lines in your
 kernel configuration file:
 .Bd -ragged -offset indent
+.Cd "device usb"
+.Cd "device ucom"
 .Cd "device uvisor"
 .Ed
 .Pp



More information about the Midnightbsd-cvs mailing list