1.\" Copyright (c) 1997, 1998, 1999 2.\" Bill Paul <wpaul@ctr.columbia.edu>. 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 Bill Paul. 15.\" 4. Neither the name of the author nor the names of any co-contributors 16.\" may be used to endorse or promote products derived from this software 17.\" without specific prior written permission. 18.\" 19.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND 20.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD 23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29.\" THE POSSIBILITY OF SUCH DAMAGE. 30.\" 31.\" $FreeBSD$ 32.\" 33.Dd March 4, 1999 34.Dt TI 4 35.Os FreeBSD 36.Sh NAME 37.Nm ti 38.Nd 39Alteon Networks Tigon I and Tigon II gigabit ethernet driver 40.Sh SYNOPSIS 41.Cd "device ti" 42.Sh DESCRIPTION 43The 44.Nm 45driver provides support for PCI gigabit ethernet adapters based on 46the Alteon Networks Tigon gigabit ethernet controller chip. 47The Tigon 48contains an embedded R4000 CPU, gigabit MAC, dual DMA channels and 49a PCI interface unit. 50The Tigon II contains two R4000 CPUs and other 51refinements. 52Either chip can be used in either a 32-bit or 64-bit PCI 53slot. 54Communication with the chip is achieved via PCI shared memory 55and bus master DMA. 56The Tigon I and II support hardware multicast 57address filtering, VLAN tag extraction and insertion, and jumbo 58ethernet frames sizes up to 9000 bytes. 59Note that the Tigon I chipset 60is no longer in active production: all new adapters should come equipped 61with Tigon II chipsets. 62.Pp 63There are several PCI boards available from both Alteon and other 64vendors that use the Tigon chipset under OEM contract. 65The 66.Nm 67driver has been tested with the following Tigon-based adapters: 68.Pp 69.Bl -bullet -compact -offset indent 70.It 71The Alteon AceNIC V gigabit ethernet adapter (1000baseSX) 72.It 73The Alteon AceNIC V gigabit ethernet adapter (1000bassTX) 74.It 75The 3Com 3c985-SX gigabit ethernet adapter (Tigon 1) 76.It 77The 3Com 3c985B-SX gigabit ethernet adapter (Tigon 2) 78.It 79The Netgear GA620 gigabit ethernet adapter 80.El 81.Pp 82The following should also be supported but have not yet been tested: 83.Pp 84.Bl -bullet -compact -offset indent 85.It 86The Digital EtherWORKS 1000SX PCI Gigabit Adapter 87.It 88Silicon Graphics PCI gigabit ethernet adapter 89.It 90Farallon PN9000SX Gigabit Ethernet adapter 91.El 92.Pp 93While the Tigon chipset supports 10, 100 and 1000Mbps speeds, support for 9410 and 100Mbps speeds is only available on boards with the proper 95transceivers. 96Most adapters are only designed to work at 1000Mbps, 97however the driver should support those NICs that work at lower speeds 98as well. 99.Pp 100Support for jumbo frames is provided via the interface MTU setting. 101Selecting an MTU larger than 1500 bytes with the 102.Xr ifconfig 8 103utility configures the adapter to receive and transmit jumbo frames. 104Using jumbo frames can greatly improve performance for certain tasks, 105such as file transfers and data streaming. 106.Pp 107Support for vlans is also available using the 108.Xr vlan 4 109mechanism. 110See the 111.Xr vlan 4 112man page for more details. 113.Pp 114The 115.Nm 116driver supports the following media types: 117.Pp 118.Bl -tag -width xxxxxxxxxxxxxxxxxxxx 119.It autoselect 120Enable autoselection of the media type and options. 121The user can manually override 122the autoselected mode by adding media options to the 123.Pa /etc/rc.conf 124file. 125.It 10baseT/UTP 126Set 10Mbps operation. 127The 128.Ar mediaopt 129option can also be used to select either 130.Ar full-duplex 131or 132.Ar half-duplex modes. 133.It 100baseTX 134Set 100Mbps (fast ethernet) operation. 135The 136.Ar mediaopt 137option can also be used to select either 138.Ar full-duplex 139or 140.Ar half-duplex 141modes. 142.It 1000baseSX 143Set 1000Mbps (gigabit ethernet) operation. 144Only full 145.Ar full-duplex 146mode is supported at this speed. 147.El 148.Pp 149The 150.Nm 151driver supports the following media options: 152.Pp 153.Bl -tag -width xxxxxxxxxxxxxxxxxxxx 154.It full-duplex 155Force full duplex operation 156.It half-duplex 157Force half duplex operation. 158.El 159.Pp 160For more information on configuring this device, see 161.Xr ifconfig 8 . 162.Sh DIAGNOSTICS 163.Bl -diag 164.It "ti%d: couldn't map memory" 165A fatal initialization error has occurred. 166.It "ti%d: couldn't map interrupt" 167A fatal initialization error has occurred. 168.It "ti%d: no memory for softc struct!" 169The driver failed to allocate memory for per-device instance information 170during initialization. 171.It "ti%d: failed to enable memory mapping!" 172The driver failed to initialize PCI shared memory mapping. 173This might 174happen if the card is not in a bus-master slot. 175.It "ti%d: no memory for jumbo buffers!" 176The driver failed to allocate memory for jumbo frames during 177initialization. 178.It "ti%d: bios thinks we're in a 64 bit slot, but we aren't" 179The BIOS has programmed the NIC as though it had been installed in 180a 64-bit PCI slot, but in fact the NIC is in a 32-bit slot. 181This happens 182as a result of a bug in some BIOSes. 183This can be worked around on the 184Tigon II, but on the Tigon I initialization will fail. 185.It "ti%d: board self-diagnostics failed!" 186The ROMFAIL bit in the CPU state register was set after system 187startup, indicating that the on-board NIC diagnostics failed. 188.It "ti%d: unknown hwrev" 189The driver detected a board with an unsupported hardware revision. 190The 191.Nm 192driver supports revision 4 (Tigon 1) and revision 6 (Tigon 2) chips 193and has firmware only for those devices. 194.It "ti%d: watchdog timeout" 195The device has stopped responding to the network, or there is a problem with 196the network connection (cable). 197.El 198.Sh SEE ALSO 199.Xr arp 4 , 200.Xr netintro 4 , 201.Xr vlan 4 , 202.Xr ng_ether 4 , 203.Xr ifconfig 8 204.Rs 205.%T Alteon Gigabit Ethernet/PCI NIC manuals 206.%O http://sanjose.alteon.com/open.shtml 207.Re 208.Sh HISTORY 209The 210.Nm 211device driver first appeared in 212.Fx 3.0 . 213.Sh AUTHORS 214The 215.Nm 216driver was written by 217.An Bill Paul Aq wpaul@bsdi.com . 218