2ac6c93ad60667169626c43093eb3ff52baed53d
[dragonfly.git] / share / man / man4 / tl.4
1 .\" Copyright (c) 1997, 1998
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: src/share/man/man4/tl.4,v 1.10.2.4 2003/02/17 21:20:39 trhodes Exp $
32 .\" $DragonFly: src/share/man/man4/tl.4,v 1.5 2008/05/02 02:05:05 swildner Exp $
33 .\"
34 .Dd May 1, 1998
35 .Dt TL 4
36 .Os
37 .Sh NAME
38 .Nm tl
39 .Nd Texas Instruments ThunderLAN ethernet device driver
40 .Sh SYNOPSIS
41 .Cd "device miibus"
42 .Cd "device tl"
43 .Sh DESCRIPTION
44 The
45 .Nm
46 driver provides support for PCI ethernet adapters based on the Texas
47 Instruments ThunderLAN ethernet controller chip.
48 This includes a large
49 number of Compaq PCI-bus ethernet adapters as well as the integrated
50 ethernet controllers built in to several models of Compaq Prosignia
51 servers and Compaq Deskpro desktop machines.
52 This driver also supports
53 the Olicom OC-2135/2138, OC-2325 and OC-2326 10/100 TX UTP adapters
54 and the Racore 8165 10/100baseTX and 8148 10baseT/100baseTX/100baseFX
55 multi-personality cards.
56 .Pp
57 The ThunderLAN controller has a standard MII interface that supports
58 up to 32 physical interface devices (PHYs). It also has a built-in
59 10baseT PHY hardwired at MII address 31, which may be used in some
60 10Mbps-only hardware configurations.
61 In 100Mbps configurations, a
62 National Semiconductor DP83840A or other MII-compliant PHY may be
63 attached to the ThunderLAN's MII bus.
64 If a DP83840A or equivalent
65 is available, the ThunderLAN chip can operate at either 100Mbps or
66 10Mbps in either half-duplex or full-duplex modes.
67 The ThunderLAN's
68 built-in PHY and the DP83840A also support autonegotiation.
69 .Pp
70 The
71 .Nm
72 driver supports the following media types:
73 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
74 .It autoselect
75 Enable autoselection of the media type and options.
76 Note that this
77 option is only available on those PHYs that support autonegotiation.
78 Also, the PHY will not advertise those modes that have been explicitly
79 disabled using the following media options.
80 .It 10baseT/UTP
81 Set 10Mbps operation
82 .It 100baseTX
83 Set 100Mbps (fast ethernet) operation
84 .It 10base5/AUI
85 Enable AUI/BNC interface (useful only with the built-in PHY).
86 .El
87 .Pp
88 The
89 .Nm
90 driver supports the following media options:
91 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
92 .It full-duplex
93 Force full duplex operation
94 .It half-duplex
95 Force half duplex operation.
96 .It hw-loopback
97 Enable hardware loopback mode.
98 .El
99 .Pp
100 Note that the 100baseTX media type is only available if supported
101 by the PHY.
102 For more information on configuring this device, see
103 .Xr ifconfig 8 .
104 .Sh DIAGNOSTICS
105 .Bl -diag
106 .It "tl%d: couldn't map memory"
107 A fatal initialization error has occurred.
108 .It "tl%d: couldn't map interrupt"
109 A fatal initialization error has occurred.
110 .It "tl%d: device timeout"
111 The device has stopped responding to the network, or there is a problem with
112 the network connection (cable).
113 .It "tl%d: no memory for rx list"
114 The driver failed to allocate an mbuf for the receiver ring.
115 .It "tl%d: no memory for tx list"
116 The driver failed to allocate an mbuf for the transmitter ring when
117 allocating a pad buffer or collapsing an mbuf chain into a cluster.
118 .El
119 .Sh SEE ALSO
120 .Xr arp 4 ,
121 .Xr ifmedia 4 ,
122 .Xr miibus 4 ,
123 .Xr netintro 4 ,
124 .Xr ng_ether 4 ,
125 .Xr ifconfig 8
126 .Sh HISTORY
127 The
128 .Nm
129 device driver first appeared in
130 .Fx 2.2 .
131 .Sh AUTHORS
132 The
133 .Nm
134 driver was written by
135 .An Bill Paul Aq wpaul@ctr.columbia.edu .