xref: /netbsd-src/share/man/man4/man4.vax/vv.4 (revision 4b896b232495b7a9b8b94a1cf1e21873296d53b8)
1.\"	$NetBSD: vv.4,v 1.11 2003/08/07 10:31:14 agc 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. 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: @(#)vv.4	8.1 (Berkeley) 6/5/93
31.\"
32.Dd June 5, 1993
33.Dt VV 4 vax
34.Os
35.Sh NAME
36.Nm vv
37.Nd Proteon proNET 10 Megabit ring network
38.Sh SYNOPSIS
39.Cd "vv0 at uba0 csr 0161000 vector vvrint vvxint"
40.Sh DESCRIPTION
41NOTE: This driver has not been ported from
42.Bx 4.4
43yet.
44.Pp
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 2 .
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 vv%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 inet 4 ,
124.Xr netintro 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