Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
The vr Fast Ethernet driver is GLD based and supporting the VIA Rhine family of Fast Ethernet adapters:
pci1106,3043 VIA VT86C100A Fast Ethernet pci1106,3065 VT6102 VIA Rhine II pci1106,3106 VT6105 VIA Rhine III pci1106,3053 VT6105 VIA Rhine III Management Adapter
The vr driver supports IEEE 802.3 auto-negotiation, flow control and VLAN tagging.
The default configuration is autonegotiation with bidirectional flow control. The advertised capabilities for autonegotiation are based on the capabilities of the PHY.
You can set the capabilities advertised by the vr controlled device using dladm(1M). The driver supports a number of parameters, the names of which begin with en_ (enabled). Each of these boolean parameters determines if the device advertises that mode of operation when the hardware supports it.
The adv_autoneg_cap parameter controls whether auto-negotiation is performed. If adv_autoneg_cap is 0, the driver selects the speed/duplex combination from the first non-zero parameter from this list:
en_100fdx_cap 100Mbps full duplex en_100hdx_cap 100Mbps half duplex en_10fdx_cap 10Mbps full duplex en_10hdx_cap 10Mbps half duplex
All capabilities default to enabled. Changing any capability parameter causes the link to go down while the link partners renegotiate the link using the newly changed capabilities.
The vr driver does not support asymmetric flowcontrol. VT86C100A and Rhine II adapters are not capable of transmitting flowcontrol messages
Special character device
32-bit device driver (x86)
64-bit device driver (SPARC)
64-bit device driver (x86)
See attributes(5) for a description of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE |
Architecture SPARC, x86 |
dladm(1M), netstat(1M), driver.conf(4), attributes(5), ieee802.3(5), dlpi(7P), streamio(7I)
Writing Device Drivers
STREAMS Programmer's Guide
Network Interfaces Programmer's Guide
IEEE 802.3ae Specification - 2002