Deleted Added
full compact
uart.4 (267938) uart.4 (286591)
1.\"
2.\" Copyright (c) 2003 Marcel Moolenaar
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\"

--- 9 unchanged lines hidden (view full) ---

18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 2003 Marcel Moolenaar
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\"

--- 9 unchanged lines hidden (view full) ---

18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man4/uart.4 267938 2014-06-26 21:46:14Z bapt $
26.\" $FreeBSD: head/share/man/man4/uart.4 286591 2015-08-10 20:08:09Z ian $
27.\"
27.\"
28.Dd March 12, 2008
28.Dd August 10, 2015
29.Dt UART 4
30.Os
31.Sh NAME
32.Nm uart
33.Nd driver for Universal Asynchronous Receiver/Transmitter (UART) devices
34.Sh SYNOPSIS
35.Cd "device uart"
36.Pp

--- 109 unchanged lines hidden (view full) ---

146NS8250: standard hardware based on the 8250, 16450, 16550, 16650, 16750 or
147the 16950 UARTs.
148.It
149SCC: serial communications controllers supported by the
150.Xr scc 4
151device driver.
152.El
153.\"
29.Dt UART 4
30.Os
31.Sh NAME
32.Nm uart
33.Nd driver for Universal Asynchronous Receiver/Transmitter (UART) devices
34.Sh SYNOPSIS
35.Cd "device uart"
36.Pp

--- 109 unchanged lines hidden (view full) ---

146NS8250: standard hardware based on the 8250, 16450, 16550, 16650, 16750 or
147the 16950 UARTs.
148.It
149SCC: serial communications controllers supported by the
150.Xr scc 4
151device driver.
152.El
153.\"
154.Sh Pulse Per Second (PPS) Timing Interface
155The
156.Nm
157driver can capture PPS timing information as defined in RFC 2783.
158The API, accessed via
159.Xr ioctl 8 ,
160is available on the tty device.
161To use the PPS capture feature with
162.Xr ntpd 8 ,
163symlink the tty device to
164.Va /dev/pps0.
165.Pp
166The
167.Va hw.uart.pps_mode
168tunable configures the PPS capture mode for all uart devices;
169it can be set in
170.Xr loader.conf 5 .
171The
172.Va dev.uart.0.pps_mode
173sysctl configures the PPS capture mode for a specific uart device;
174it can be set in
175.Xr loader.conf 5
176or
177.Xr sysctl.conf 5 .
178The following capture modes are available:
179.Bl -tag -compact -offset "mmmm" -width "mmmm"
180.It 0
181Capture disabled.
182.It 1
183Capture pulses on the CTS line.
184.It 2
185Capture pulses on the DCD line (default).
186.El
154.Sh FILES
155.Bl -tag -width ".Pa /dev/ttyu?.init" -compact
156.It Pa /dev/ttyu?
157for callin ports
158.It Pa /dev/ttyu?.init
159.It Pa /dev/ttyu?.lock
160corresponding callin initial-state and lock-state devices
161.Pp

--- 20 unchanged lines hidden ---
187.Sh FILES
188.Bl -tag -width ".Pa /dev/ttyu?.init" -compact
189.It Pa /dev/ttyu?
190for callin ports
191.It Pa /dev/ttyu?.init
192.It Pa /dev/ttyu?.lock
193corresponding callin initial-state and lock-state devices
194.Pp

--- 20 unchanged lines hidden ---