1.\" $NetBSD: dz.4,v 1.3 2015/05/04 07:44:18 wiz Exp $ 2.\" 3.\" Copyright (c) 2010 NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" This file is derived from work contributed by Microsoft Corporation. 7.\" 8.\" Redistribution and use in source and binary forms, with or without 9.\" modification, are permitted provided that the following conditions 10.\" are met: 11.\" 1. Redistributions of source code must retain the above copyright 12.\" notice, this list of conditions and the following disclaimer. 13.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" notice, this list of conditions and the following disclaimer in the 15.\" documentation and/or other materials provided with the distribution. 16.\" 17.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 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 before it could be serviced. 75This can happen if a hard error occurs when the 76.Tn CPU 77is running with elevated priority, as the system will 78then print a message on the console with interrupts disabled. 79It is not serious. 80.El 81.Sh SEE ALSO 82.Xr stty 1 , 83.Xr tty 4 , 84.Xr ttys 5 , 85.Xr getty 8 86.Sh HISTORY 87A 88.Nm 89driver appeared in 90.Nx 6.0 . 91