1 .\" $NetBSD: vge.4,v 1.4 2005/03/05 14:39:29 jdolecek Exp $
4 .\" Bill Paul <wpaul@windriver.com>. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
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 Bill Paul.
17 .\" 4. Neither the name of the author nor the names of any co-contributors
18 .\" may be used to endorse or promote products derived from this software
19 .\" without specific prior written permission.
21 .\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
22 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 .\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
25 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31 .\" THE POSSIBILITY OF SUCH DAMAGE.
33 .\" FreeBSD: src/share/man/man4/vge.4,v 1.7 2005/01/14 10:33:39 ru Exp
40 .Nd "VIA Networking Technologies VT6122 PCI Gigabit Ethernet adapter driver"
42 .Cd "vge* at pci? dev ? function ?"
44 Configuration of PHYs is also necessary. See
49 driver provides support for various NICs and embedded Ethernet interfaces
50 based on the VIA Networking Technologies VT6122 Gigabit Ethernet
53 The VT6122 is a 33/66Mhz 64-bit PCI device which combines a tri-speed MAC with
54 an integrated 10/100/1000 copper PHY.
55 (Some older cards use an external PHY.)
56 The MAC supports TCP/IP hardware
57 checksums (IPv4 only), TCP large send, VLAN tag insertion and stripping,
58 as well as VLAN filtering, a 64-entry CAM filter and a 64-entry VLAN filter,
59 64-bit multicast hash filter, 4 separate transmit DMA queues, flow control
60 and jumbo frames up to 16K in size.
61 The VT6122 has a 16K receive FIFO and 48K transmit FIFO.
65 driver takes advantage of the VT6122's checksum offload and VLAN
66 tagging features, as well as the jumbo frame and CAM filter support.
67 The CAM filter is used for multicast address filtering to provide
68 64 perfect multicast address filter support.
69 If it is necessary for the interface to join more than 64 multicast
70 groups, the driver will switch over to using the hash filter.
72 The jumbo frame support can be enabled by setting the interface MTU
73 to any value larger than the default of 1500 bytes, up to a maximum
75 The receive and transmit checksum offload support
76 can be toggled on and off using the
82 driver supports the following media types:
83 .Bl -tag -width ".Cm 10baseT/UTP"
85 Enable autoselection of the media type and options.
86 The user can manually override
87 the autoselected mode by adding media options to
94 option can also be used to select either
100 Set 100Mbps (Fast Ethernet) operation.
104 option can also be used to select either
110 Set 1000baseTX operation over twisted pair.
114 option can also be used to select either
123 driver supports the following media options:
124 .Bl -tag -width ".Cm full-duplex"
126 Force full duplex operation.
128 Force half duplex operation.
133 driver also supports one special link option for 1000baseTX cards:
134 .Bl -tag -width ".Cm link0"
136 With 1000baseTX cards, establishing a link between two ports requires
137 that one port be configured as a master and the other a slave.
138 With autonegotiation,
139 the master/slave settings will be chosen automatically.
140 However when manually selecting the link state, it is necessary to
141 force one side of the link to be a master and the other a slave.
144 driver configures the ports as slaves by default.
149 will set a port as a master instead.
152 For more information on configuring this device, see
157 driver supports VIA Networking VT3119 and VT6122 based
158 Gigabit Ethernet adapters including:
162 VIA Networking LAN-on-motherboard Gigabit Ethernet
164 ZyXEL GN650-T 64-bit PCI Gigabit Ethernet NIC (ZX1701)
166 ZyXEL GN670-T 32-bit PCI Gigabit Ethernet NIC (ZX1702)
170 .It "vge%d: couldn't map memory"
171 The driver failed to initialize PCI shared memory mapping.
173 happen if the card is not in a bus-master slot.
174 .It "vge%d: unable to map interrupt"
175 A fatal initialization error has occurred.
176 .It "vge%d: watchdog timeout"
177 The device has stopped responding to the network, or there is a problem with
178 the network connection (cable). Driver resets the device.
191 device driver first appeared in
199 driver was written by
200 .An Bill Paul Aq wpaul@windriver.com .
205 .Aq jdolecek@NetBSD.org .
207 VLAN packet filtering is done in software at the moment, though
208 using hardware VLAN tagging.