1.\" $OpenBSD: ti.4,v 1.42 2013/07/16 16:05:49 schwarze Exp $ 2.\" 3.\" Copyright (c) 1997, 1998, 1999 4.\" Bill Paul <wpaul@ctr.columbia.edu>. 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. 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. 20.\" 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. 32.\" 33.\" $FreeBSD: src/share/man/man4/ti.4,v 1.11 2000/08/10 19:47:32 billf Exp $ 34.\" 35.Dd $Mdocdate: July 16 2013 $ 36.Dt TI 4 37.Os 38.Sh NAME 39.Nm ti 40.Nd Alteon Networks Tigon I and II Gigabit Ethernet device 41.Sh SYNOPSIS 42.Cd "ti* at pci?" 43.Cd "ti* at sbus?" 44.Sh DESCRIPTION 45The 46.Nm 47driver provides support for Gigabit Ethernet adapters based on the 48Alteon Networks Tigon Gigabit Ethernet controller chip, including 49the following: 50.Pp 51.Bl -bullet -compact -offset indent 52.It 533Com 3C985-SX Gigabit Ethernet (1000baseSX) 54.It 553Com 3C985B-SX Gigabit Ethernet (1000baseSX) 56.It 57Alteon AceNIC V Gigabit Ethernet (1000baseSX) 58.It 59Alteon AceNIC V Gigabit Ethernet (1000baseT) 60.It 61Digital EtherWORKS 1000SX PCI Gigabit Ethernet (1000baseSX) 62.It 63Farallon PN9000SX Gigabit Ethernet (1000baseSX) 64.It 65Netgear GA620 Gigabit Ethernet (1000baseSX) 66.It 67Netgear GA620T Gigabit Ethernet (1000baseT) 68.It 69Silicon Graphics Gigabit Ethernet (1000baseSX) 70.It 71Silicon Graphics Gigabit Ethernet (1000baseT) 72.It 73Sun Vector Gigabit Ethernet (1000baseSX) 74.El 75.Pp 76The Tigon contains an embedded R4000 CPU, Gigabit MAC, dual DMA channels and 77a PCI interface unit. 78The Tigon II contains two R4000 CPUs and other refinements. 79Either chip can be used in either a 32-bit or 64-bit PCI slot. 80Communication with the chip is achieved via PCI shared memory and 81bus master DMA. 82SBus cards are also available and use a special bridge chip. 83The Tigon I and II support hardware multicast address filtering, 84VLAN tag insertion and stripping, and Jumbo frame sizes up to 859000 bytes. 86.Pp 87While the Tigon chipset supports 10, 100 and 1000Mbps speeds, support for 8810 and 100Mbps speeds is only available on boards with the proper 89transceivers. 90Most adapters are only designed to work at 1000Mbps, however the driver 91should support those NICs that work at lower speeds as well. 92.Pp 93Support for Jumbo frames is provided via the interface MTU setting. 94Selecting an MTU larger than 1500 bytes with the 95.Xr ifconfig 8 96utility configures the adapter to receive and transmit Jumbo frames. 97.Pp 98The 99.Nm 100driver supports the following media types: 101.Bl -tag -width full-duplex 102.It autoselect 103Enable autoselection of the media type and options. 104The user can manually override 105the autoselected mode by adding media options to the appropriate 106.Xr hostname.if 5 107file. 108.It 10baseT 109Set 10Mbps operation 110The 111.Ar mediaopt 112option can also be used to select either 113.Ar full-duplex 114or 115.Ar half-duplex 116modes. 117.It 100baseTX 118Set 100Mbps (Fast Ethernet) operation. 119The 120.Ar mediaopt 121option can also be used to select either 122.Ar full-duplex 123or 124.Ar half-duplex 125modes. 126.It 1000baseSX 127Set 1000Mbps (Gigabit Ethernet) on fiber operation. 128Only 129.Ar full-duplex 130mode is supported at this speed. 131.It 1000baseT 132Set 1000Mbps (Gigabit Ethernet) on copper operation. 133.El 134.Pp 135The 136.Nm 137driver supports the following media options: 138.Bl -tag -width full-duplex 139.It full-duplex 140Force full duplex operation 141.It half-duplex 142Force half duplex operation 143.El 144.Pp 145For more information on configuring this device, see 146.Xr ifconfig 8 . 147.Sh FILES 148Two firmware files are necessary, for Tigon 1 and Tigon 2 devices. 149These are loaded on demand 150when the device is attached: 151.Pp 152.Bl -tag -width Ds -offset indent -compact 153.It Pa /etc/firmware/tigon1 154.It Pa /etc/firmware/tigon2 155.El 156.Sh DIAGNOSTICS 157.Bl -diag 158.It "ti0: couldn't map memory" 159A fatal initialization error has occurred. 160.It "ti0: couldn't map interrupt" 161A fatal initialization error has occurred. 162.It "ti0: no memory for softc struct!" 163The driver failed to allocate memory for per-device instance information 164during initialization. 165.It "ti0: failed to enable memory mapping!" 166The driver failed to initialize PCI shared memory mapping. 167This might happen if the card is not in a bus-master slot. 168.It "ti0: no memory for jumbo buffers!" 169The driver failed to allocate memory for Jumbo frames during 170initialization. 171.It "ti0: bios thinks we're in a 64 bit slot, but we aren't" 172The BIOS has programmed the NIC as though it had been installed in 173a 64-bit PCI slot, but in fact the NIC is in a 32-bit slot. 174This happens as a result of a bug in some BIOSes. 175This can be worked around on the Tigon II, but 176on the Tigon I initialization will fail. 177.It "ti0: board self-diagnostics failed!" 178The ROMFAIL bit in the CPU state register was set after system 179startup, indicating that the on-board NIC diagnostics failed. 180.It "ti0: unknown hwrev" 181The driver detected a board with an unsupported hardware revision. 182The 183.Nm 184driver supports revision 4 (Tigon 1) and revision 6 (Tigon 2) chips 185and has firmware only for those devices. 186.It "ti0: watchdog timeout -- resetting" 187The device has stopped responding to the network, or there is a problem with 188the network connection (cable). 189.El 190.Sh SEE ALSO 191.Xr arp 4 , 192.Xr ifmedia 4 , 193.Xr intro 4 , 194.Xr netintro 4 , 195.Xr pci 4 , 196.Xr sbus 4 , 197.Xr hostname.if 5 , 198.Xr ifconfig 8 199.Sh HISTORY 200The 201.Nm 202device driver first appeared in 203.Fx 3.0 . 204.Ox 205support first appeared in 206.Ox 2.6 . 207SBus support was added in 208.Ox 4.7 . 209.Sh AUTHORS 210.An -nosplit 211The 212.Nm 213driver was written by 214.An Bill Paul Aq Mt wpaul@bsdi.com . 215SBus support was added by 216.An Mark Kettenis Aq Mt kettenis@openbsd.org . 217