1.\" $NetBSD: dmv.4,v 1.11 2003/08/07 10:31:10 agc 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. 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: @(#)dmv.4 8.1 (Berkeley) 6/5/93 31.\" 32.Dd June 5, 1993 33.Dt DMV 4 vax 34.Os 35.Sh NAME 36.Nm dmv 37.Nd 38.Tn DEC 39.Tn DMV-11 40point-to-point serial communications device 41.Sh SYNOPSIS 42.Cd "dmv0 at uba0 csr 167000 vector dmvrint dmvxint" 43.Sh DESCRIPTION 44NOTE: This driver has not been ported from 45.Bx 4.4 46yet. 47.Pp 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 inet 4 , 125.Xr intro 4 126.Sh HISTORY 127The 128.Nm 129driver appeared in 130.Bx 4.3 tahoe . 131