1.\" $NetBSD: vv.4,v 1.10 2002/01/15 02:11:48 wiz Exp $ 2.\" 3.\" Copyright (c) 1983, 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: @(#)vv.4 8.1 (Berkeley) 6/5/93 35.\" 36.Dd June 5, 1993 37.Dt VV 4 vax 38.Os 39.Sh NAME 40.Nm vv 41.Nd Proteon proNET 10 Megabit ring network 42.Sh SYNOPSIS 43.Cd "vv0 at uba0 csr 0161000 vector vvrint vvxint" 44.Sh DESCRIPTION 45NOTE: This driver has not been ported from 46.Bx 4.4 47yet. 48.Pp 49The 50.Nm vv 51interface provides access to a 10 Mb/s Proteon 52.Tn proNET 53ring network. 54.Pp 55The network address of the interface must be specified with an 56an 57.Dv SIOCSIFADDR 58.Xr ioctl 2 59before data can be transmitted or received. 60It is only permissible to change the network address while the 61interface is marked 62.Dq down . 63.Pp 64The host's hardware address is discovered by putting the interface in 65digital loopback mode (not joining the ring) and sending a broadcast 66packet from which the hardware address is extracted. 67.Pp 68Transmit timeouts are detected through use of a watchdog routine. 69Lost input interrupts are checked for when packets are sent out. 70.Pp 71If the installation is running 72.Tn CTL 73boards which use the old broadcast 74address of 75.Ql 0 76instead of the new address of 77.Ql 0xff , 78the define 79.Dv OLD_BROADCAST 80should be specified in the driver. 81.Pp 82The driver can use 83.Dq trailer 84encapsulation to minimize copying 85data on input and output. 86This may be disabled, on a per-interface basis, 87by setting the 88.Dv IFF_NOTRAILERS 89flag with an 90.Dv SIOCSIFFLAGS 91.Xr ioctl 2 . 92.Sh DIAGNOSTICS 93.Bl -diag 94.It vv%d: host %d. 95The software announces the host 96address discovered during autoconfiguration. 97.Pp 98.It vv%d: can't initialize. 99The software was unable to 100discover the address of this interface, so it deemed 101"dead" will not be enabled. 102.Pp 103.It vv%d: error vvocsr=%b. 104The hardware indicated an error on 105the previous transmission. 106.Pp 107.It vv%d: output timeout. 108The token timer has fired and the 109token will be recreated. 110.Pp 111.It vv%d: error vvicsr=%b. 112The hardware indicated an error 113in reading a packet off the ring. 114.Pp 115.It vv%d: can't handle af%d. 116The interface was handed 117a message with addresses formatted in an unsuitable address 118family; the packet was dropped. 119.Pp 120.It vv%d: vs_olen=%d. 121The ring output routine has been 122handed a message with a preposterous length. This results in 123an immediate 124.Em panic: vs_olen . 125.El 126.Sh SEE ALSO 127.Xr inet 4 , 128.Xr netintro 4 129.Sh HISTORY 130The 131.Nm 132driver appeared in 133.Bx 4.2 . 134.Sh BUGS 135The encapsulation of trailer packets in the 136.Bx 4.2 137version of this driver 138was incorrect (the packet type was in 139.Tn VAX 140byte order). 141As a result, the trailer encapsulation in this version is not compatible 142with the 143.Bx 4.2 144.Tn VAX 145version. 146