1*61601Sbostic.\" Copyright (c) 1983, 1991, 1993 2*61601Sbostic.\" The Regents of the University of California. All rights reserved. 320752Smckusick.\" 443582Strent.\" %sccs.include.redist.man% 520752Smckusick.\" 6*61601Sbostic.\" @(#)vv.4 8.1 (Berkeley) 06/05/93 736756Sbostic.\" 847674Scael.Dd 947674Scael.Dt VV 4 vax 1047674Scael.Os BSD 4.2 1147674Scael.Sh NAME 1247674Scael.Nm vv 1347674Scael.Nd Proteon proNET 10 Megabit ring 1447674Scael.Sh SYNOPSIS 1547674Scael.Cd "device vv0 at uba0 csr 0161000 vector vvrint vvxint" 1647674Scael.Sh DESCRIPTION 1720752SmckusickThe 1847674Scael.Nm vv 1947674Scaelinterface provides access to a 10 Mb/s Proteon 2047674Scael.Tn proNET 2147674Scaelring network. 2247674Scael.Pp 2320753SmckusickThe network address of the interface must be specified with an 2447674Scaelan 2547674Scael.Dv SIOCSIFADDR 2647674Scael.Xr ioctl 2 2747674Scaelbefore data can be transmitted or received. 2820753SmckusickIt is only permissible to change the network address while the 2947674Scaelinterface is marked 3047674Scael.Dq down . 3147674Scael.Pp 3220753SmckusickThe host's hardware address is discovered by putting the interface in 3320753Smckusickdigital loopback mode (not joining the ring) and sending a broadcast 3420753Smckusickpacket from which the hardware address is extracted. 3547674Scael.Pp 3620753SmckusickTransmit timeouts are detected through use of a watchdog routine. 3720753SmckusickLost input interrupts are checked for when packets are sent out. 3847674Scael.Pp 3947674ScaelIf the installation is running 4047674Scael.Tn CTL 4147674Scaelboards which use the old broadcast 4247674Scaeladdress of 4347674Scael.Ql 0 4447674Scaelinstead of the new address of 4547674Scael.Ql 0xff , 4647674Scaelthe define 4747674Scael.Dv OLD_BROADCAST 4820752Smckusickshould be specified in the driver. 4947674Scael.Pp 5047674ScaelThe driver can use 5147674Scael.Dq trailer 5247674Scaelencapsulation to minimize copying 5320753Smckusickdata on input and output. 5420753SmckusickThis may be disabled, on a per-interface basis, 5547674Scaelby setting the 5647674Scael.Dv IFF_NOTRAILERS 5747674Scaelflag with an 5847674Scael.Dv SIOCSIFFLAGS 5947674Scael.Xr ioctl . 6047674Scael.Sh DIAGNOSTICS 6147674Scael.Bl -diag 6247674Scael.It vv%d: host %d. 6347674ScaelThe software announces the host 6420752Smckusickaddress discovered during autoconfiguration. 6547674Scael.Pp 6647674Scael.It vv%d: can't initialize. 6747674ScaelThe software was unable to 6820752Smckusickdiscover the address of this interface, so it deemed 6920752Smckusick"dead" will not be enabled. 7047674Scael.Pp 7147674Scael.It vv%d: error vvocsr=%b. 7247674ScaelThe hardware indicated an error on 7320752Smckusickthe previous transmission. 7447674Scael.Pp 7547674Scael.It vv%d: output timeout. 7647674ScaelThe token timer has fired and the 7720752Smckusicktoken will be recreated. 7847674Scael.Pp 7947674Scael.It vv%d: error vvicsr=%b. 8047674ScaelThe hardware indicated an error 8120752Smckusickin reading a packet off the ring. 8247674Scael.Pp 8347674Scael.It en%d: can't handle af%d. 8447674ScaelThe interface was handed 8520752Smckusicka message with addresses formatted in an unsuitable address 8620752Smckusickfamily; the packet was dropped. 8747674Scael.Pp 8847674Scael.It vv%d: vs_olen=%d. 8947674ScaelThe ring output routine has been 9020752Smckusickhanded a message with a preposterous length. This results in 9120752Smckusickan immediate 9247674Scael.Em panic: vs_olen . 9347674Scael.El 9447674Scael.Sh SEE ALSO 9547674Scael.Xr netintro 4 , 9647674Scael.Xr inet 4 9747674Scael.Sh HISTORY 9847674ScaelThe 9947674Scael.Nm 10047674Scaeldriver appeared in 10147674Scael.Bx 4.2 . 10247674Scael.Sh BUGS 10347674ScaelThe encapsulation of trailer packets in the 10447674Scael.Bx 4.2 10547674Scaelversion of this driver 10647674Scaelwas incorrect (the packet type was in 10747674Scael.Tn VAX 10847674Scaelbyte order). 10928256SkarelsAs a result, the trailer encapsulation in this version is not compatible 11047674Scaelwith the 11147674Scael.Bx 4.2 11247674Scael.Tn VAX 11347674Scaelversion. 114