1.\" $NetBSD: dmv.4,v 1.8 2001/04/11 19:21:17 wiz Exp $ 2.\" 3.\" Copyright (c) 1988, 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. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgement: 16.\" This product includes software developed by the University of 17.\" California, Berkeley and its contributors. 18.\" 4. Neither the name of the University nor the names of its contributors 19.\" may be used to endorse or promote products derived from this software 20.\" without specific prior written permission. 21.\" 22.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32.\" SUCH DAMAGE. 33.\" 34.\" from: @(#)dmv.4 8.1 (Berkeley) 6/5/93 35.\" 36.Dd June 5, 1993 37.Dt DMV 4 vax 38.Os 39.Sh NAME 40.Nm dmv 41.Nd 42.Tn DEC 43.Tn DMV-11 44point-to-point serial communications device 45.Sh SYNOPSIS 46.Cd "dmv0 at uba0 csr 167000 vector dmvrint dmvxint" 47.Sh DESCRIPTION 48The 49.Nm dmv 50interface provides access to a point-to-point communications 51device which runs at up to 56 Kb/s. 52.Tn DMV-11 Ns s 53communicate 54using the 55.Tn DEC 56.Tn DDCMP 57link layer protocol. 58.Pp 59The host's address must be specified with an 60.Dv SIOCSIFADDR 61.Xr ioctl 2 , 62and the destination address specified with a 63.Dv SIOCSIFDSTADDR 64.Xr ioctl 2 , 65before the interface will transmit or receive any packets. 66.Sh ROUTING 67The driver places a 68.Tn HOST 69entry in the kernel routing tables for the 70address given in the 71.Dv SIOCSIFDSTADDR 72.Xr ioctl 2 . 73To use the 74.Tn DMV 75as a 76link between local nets, the route to the remote net must be added manually 77with the 78.Xr route 8 79command, or by the use of the routing process 80.Xr routed 8 81on each end of the link. 82.Sh DIAGNOSTICS 83.Bl -diag 84.It dmvprobe: can't start device. 85.It "dmvprobe: device init failed, bsel4=%o, bsel6=%o." 86The probe routine was unable to start the device. 87.Pp 88.It dmvinit: dmv%d not running. 89.It dmvrestart: can't start device. 90.It "dmv%d: device init failed, bsel4=%o, bsel6=%o." 91The initialization/restart routine was unable to start the device. 92.Pp 93.It dmv%d: far end on-line. 94The other end of the connection has come online. 95.Pp 96.It dmv%d: far end restart. 97The other end of the line has restarted. 98.Pp 99.It dmv%d: bad control %o. 100A bad parameter was passed to the 101.Em dmvload 102routine. 103.Pp 104.It "dmvxint: dmv%d bad rcv pkt addr 0x%x len 0x%x." 105A bad packet was received. 106.Pp 107.It "dmv%d: bad packet address 0x%x." 108An input packet was received which contained a type of 109address unknown to the driver. 110.Pp 111.It "dmvxint: dmv%d unallocated packet 0x%x." 112A protocol error has occurred with the board. 113.Pp 114.It "dmvoutput, dmv%d can't handle af%d." 115A packet for an unsupported address family has been sent. 116.Pp 117.It "dmv%d: output timeout, bsel0=%b bsel2=%b." 118A device timeout occurred. 119.El 120.Pp 121Numerous other device errors may be displayed. 122.Sh SEE ALSO 123.Xr dmc 4 , 124.Xr intro 4 , 125.Xr inet 4 126.Sh HISTORY 127The 128.Nm 129driver appeared in 130.Bx 4.3 tahoe . 131