xref: /netbsd/share/man/man4/man4.emips/dz.4 (revision 6550d01e)
1.\"	$NetBSD: dz.4,v 1.1 2011/01/26 01:18:48 pooka Exp $
2.\"
3.\" Copyright (c) 2010 Microsoft Corp.
4.\" Copyright (c) 2010 NetBSD Foundation, Inc.
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26.\"
27.\"
28.Dd July 17, 2010
29.Dt DZ 4 emips
30.Os
31.Sh NAME
32.Nm dz
33.Nd
34.Tn eMIPS
35console serial device interface
36.Sh SYNOPSIS
37.Cd "dz* at ebus0 addr ?"
38.Sh DESCRIPTION
39This serial line provides a simple communication line with no modem control.
40It is not adequate for
41.Ux
42dialup use.
43.Pp
44Normal I/O
45control parameters for individual lines are managed by
46.Xr ioctl 2
47calls.
48Line speeds may be initiated via
49the
50.Xr ttys 5
51file,
52.Xr stty 1
53or
54.Xr ifconfig 8
55to name a few,
56see
57.Xr tty 4 .
58.Pp
59The
60.Nm dz
61driver monitors the rate of input on each board,
62and switches between the use of character-at-a-time interrupts
63and input silos.
64While the silo is enabled during periods of high-speed input,
65the driver polls for input 30 times per second.
66.Sh FILES
67.Bl -tag -width /dev/tty[0-9][0-9]xx -compact
68.It Pa /dev/ttyD0
69phys interface.
70.El
71.Sh DIAGNOSTICS
72.Bl -diag
73.It dz%d: silo overflow .
74The 1 character input silo overflowed
75before it could be serviced.  This can happen if a hard error occurs
76when the
77.Tn CPU
78is running with elevated priority, as the system will
79then print a message on the console with interrupts disabled.
80It is not serious.
81.El
82.Sh SEE ALSO
83.Xr stty 1 ,
84.Xr tty 4 ,
85.Xr ttys 5 ,
86.Xr getty 8
87.Sh HISTORY
88A
89.Nm
90driver appeared in
91.Nx 6.0 .
92