xref: /netbsd-src/share/man/man4/man4.vax/vv.4 (revision ce0bb6e8d2e560ecacbe865a848624f94498063b)
1.\" Copyright (c) 1983, 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\"    must display the following acknowledgement:
14.\"	This product includes software developed by the University of
15.\"	California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\"    may be used to endorse or promote products derived from this software
18.\"    without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\"     from: @(#)vv.4	6.5 (Berkeley) 3/27/91
33.\"	$Id: vv.4,v 1.2 1993/08/01 07:35:50 mycroft Exp $
34.\"
35.Dd March 27, 1991
36.Dt VV 4 vax
37.Os BSD 4.2
38.Sh NAME
39.Nm vv
40.Nd Proteon proNET 10 Megabit ring
41.Sh SYNOPSIS
42.Cd "device vv0 at uba0 csr 0161000 vector vvrint vvxint"
43.Sh DESCRIPTION
44The
45.Nm vv
46interface provides access to a 10 Mb/s Proteon
47.Tn proNET
48ring network.
49.Pp
50The network address of the interface must be specified with an
51an
52.Dv SIOCSIFADDR
53.Xr ioctl 2
54before data can be transmitted or received.
55It is only permissible to change the network address while the
56interface is marked
57.Dq down .
58.Pp
59The host's hardware address is discovered by putting the interface in
60digital loopback mode (not joining the ring) and sending a broadcast
61packet from which the hardware address is extracted.
62.Pp
63Transmit timeouts are detected through use of a watchdog routine.
64Lost input interrupts are checked for when packets are sent out.
65.Pp
66If the installation is running
67.Tn CTL
68boards which use the old broadcast
69address of
70.Ql 0
71instead of the new address of
72.Ql 0xff ,
73the define
74.Dv OLD_BROADCAST
75should be specified in the driver.
76.Pp
77The driver can use
78.Dq trailer
79encapsulation to minimize copying
80data on input and output.
81This may be disabled, on a per-interface basis,
82by setting the
83.Dv IFF_NOTRAILERS
84flag with an
85.Dv SIOCSIFFLAGS
86.Xr ioctl .
87.Sh DIAGNOSTICS
88.Bl -diag
89.It vv%d: host %d.
90The software announces the host
91address discovered during autoconfiguration.
92.Pp
93.It vv%d: can't initialize.
94The software was unable to
95discover the address of this interface, so it deemed
96"dead" will not be enabled.
97.Pp
98.It vv%d: error vvocsr=%b.
99The hardware indicated an error on
100the previous transmission.
101.Pp
102.It vv%d: output timeout.
103The token timer has fired and the
104token will be recreated.
105.Pp
106.It vv%d: error vvicsr=%b.
107The hardware indicated an error
108in reading a packet off the ring.
109.Pp
110.It en%d: can't handle af%d.
111The interface was handed
112a message with addresses formatted in an unsuitable address
113family; the packet was dropped.
114.Pp
115.It vv%d: vs_olen=%d.
116The ring output routine has been
117handed a message with a preposterous length.  This results in
118an immediate
119.Em panic: vs_olen .
120.El
121.Sh SEE ALSO
122.Xr netintro 4 ,
123.Xr inet 4
124.Sh HISTORY
125The
126.Nm
127driver appeared in
128.Bx 4.2 .
129.Sh BUGS
130The encapsulation of trailer packets in the
131.Bx 4.2
132version of this driver
133was incorrect (the packet type was in
134.Tn VAX
135byte order).
136As a result, the trailer encapsulation in this version is not compatible
137with the
138.Bx 4.2
139.Tn VAX
140version.
141