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