1.\" $NetBSD: dh.4,v 1.17 2017/08/01 11:11:17 wiz Exp $ 2.\" 3.\" Copyright (c) 1980, 1991, 1993 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. Neither the name of the University nor the names of its contributors 15.\" may be used to endorse or promote products derived from this software 16.\" without specific prior written permission. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 19.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 22.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" from: @(#)dh.4 8.1 (Berkeley) 6/5/93 31.\" 32.Dd June 5, 1993 33.Dt DH 4 vax 34.Os 35.Sh NAME 36.Nm dh 37.Nd 38.Tn DH-11 Ns / Ns Tn DM-11 39serial multiplexer device interface 40.Sh SYNOPSIS 41.Cd "dh0 at uba0 csr 0160020 vector dhrint dhxint" Op Ar flags 42.Cd "dm0 at uba0 csr 0170500 vector dmintr" Op Ar flags 43.Sh DESCRIPTION 44NOTE: This driver has not been ported from 45.Bx 4.4 46yet. 47.Pp 48A 49.Tn DH-11 50provides 16 serial communication lines; 51.Tn DM-11 Ns s 52may optionally be 53paired with 54.Tn DH-11 Ns s 55to provide modem control for the lines. 56.Pp 57An optional argument 58.Ar flags 59may be supplied with the device specification 60in the 61.Xr config 1 62file indicating 63that the line corresponding to 64bit number 65.Ar i 66is not properly 67connected, and should be treated as hard-wired with carrier 68always present. 69Thus specifying 70.Ql flags 0x0004 71for 72.Li dh0 73would cause line 74.Pa ttyh2 75to be treated in this way. 76.Pp 77Normal I/O 78control parameters for individual lines are managed by 79.Xr ioctl 2 80calls. 81Line speeds may be initiated via 82.Xr getty 8 83and 84.Xr stty 1 85or may be communicated by other programs which 86use 87.Xr ioctl 2 88such as 89.Xr ifconfig 8 , 90see 91.Xr tty 4 . 92.Pp 93The 94.Nm dh 95driver monitors the rate of input on each board, 96and switches between the use of character-at-a-time interrupts 97and input silos. 98While the silo is enabled during periods of high-speed input, 99the driver polls for input 30 times per second. 100.Sh FILES 101.Bl -tag -width /dev/tty[h-o][0-9a-f]x -compact 102.It Pa /dev/tty[h-o][0-9a-f] 103.It Pa /dev/ttyd[0-9a-f] 104.El 105.Sh DIAGNOSTICS 106.Bl -diag 107.It dh%d: NXM. 108No response from 109.Tn UNIBUS 110on a DMA transfer 111within a timeout period. 112This is often followed by a 113.Tn UNIBUS 114adapter 115error. 116This occurs most frequently when the 117.Tn UNIBUS 118is heavily loaded 119and when devices which hog the bus (such as 120.Tn RK07 Ns s ) 121are present. 122It is not serious. 123.It dh%d: silo overflow. 124The character input silo overflowed 125before it could be serviced. 126This can happen if a hard error occurs when the 127.Tn CPU 128is running with elevated priority, as the system will 129then print a message on the console with interrupts disabled. 130It is not serious. 131.El 132.Sh SEE ALSO 133.Xr tty 4 134.Sh HISTORY 135A 136.Nm 137driver appeared in 138.At v6 . 139