xref: /NextBSD/share/man/man4/tl.4 (revision e5d2f8730c92c4abb6de986ec4e1f39a242b9868)
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$
32.\"
33.Dd July 16, 2005
34.Dt TL 4
35.Os
36.Sh NAME
37.Nm tl
38.Nd "Texas Instruments ThunderLAN Ethernet device driver"
39.Sh SYNOPSIS
40To compile this driver into the kernel,
41place the following lines in your
42kernel configuration file:
43.Bd -ragged -offset indent
44.Cd "device miibus"
45.Cd "device tl"
46.Ed
47.Pp
48Alternatively, to load the driver as a
49module at boot time, place the following line in
50.Xr loader.conf 5 :
51.Bd -literal -offset indent
52if_tl_load="YES"
53.Ed
54.Sh DESCRIPTION
55The
56.Nm
57driver provides support for PCI Ethernet adapters based on the Texas
58Instruments ThunderLAN Ethernet controller chip.
59.Pp
60The ThunderLAN controller has a standard MII interface that supports
61up to 32 physical interface devices (PHYs).
62It also has a built-in
6310baseT PHY hardwired at MII address 31, which may be used in some
6410Mbps-only hardware configurations.
65In 100Mbps configurations, a
66National Semiconductor DP83840A or other MII-compliant PHY may be
67attached to the ThunderLAN's MII bus.
68If a DP83840A or equivalent
69is available, the ThunderLAN chip can operate at either 100Mbps or
7010Mbps in either half-duplex or full-duplex modes.
71The ThunderLAN's
72built-in PHY and the DP83840A also support autonegotiation.
73.Pp
74The
75.Nm
76driver supports the following media types:
77.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
78.It autoselect
79Enable autoselection of the media type and options.
80Note that this
81option is only available on those PHYs that support autonegotiation.
82Also, the PHY will not advertise those modes that have been explicitly
83disabled using the following media options.
84.It 10baseT/UTP
85Set 10Mbps operation.
86.It 100baseTX
87Set 100Mbps (Fast Ethernet) operation.
88.It 10base5/AUI
89Enable AUI/BNC interface (useful only with the built-in PHY).
90.El
91.Pp
92The
93.Nm
94driver supports the following media options:
95.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
96.It full-duplex
97Force full duplex operation.
98.It half-duplex
99Force half duplex operation.
100.It hw-loopback
101Enable hardware loopback mode.
102.El
103.Pp
104Note that the 100baseTX media type is only available if supported
105by the PHY.
106For more information on configuring this device, see
107.Xr ifconfig 8 .
108.Sh HARDWARE
109The
110.Nm
111driver supports Texas Instruments ThunderLAN based
112Ethernet and Fast Ethernet adapters including a large
113number of Compaq PCI Ethernet adapters.
114Also supported are:
115.Pp
116.Bl -bullet -compact
117.It
118Olicom OC-2135/2138 10/100 TX UTP adapter
119.It
120Olicom OC-2325/OC-2326 10/100 TX UTP adapter
121.It
122Racore 8148 10baseT/100baseTX/100baseFX adapter
123.It
124Racore 8165 10/100baseTX adapter
125.El
126.Pp
127The
128.Nm
129driver also supports the built-in Ethernet adapters of
130various Compaq Prosignia servers and Compaq Deskpro desktop
131machines including:
132.Pp
133.Bl -bullet -compact
134.It
135Compaq Netelligent 10
136.It
137Compaq Netelligent 10 T PCI UTP/Coax
138.It
139Compaq Netelligent 10/100
140.It
141Compaq Netelligent 10/100 Dual-Port
142.It
143Compaq Netelligent 10/100 Proliant
144.It
145Compaq Netelligent 10/100 TX Embedded UTP
146.It
147Compaq Netelligent 10/100 TX UTP
148.It
149Compaq NetFlex 3P
150.It
151Compaq NetFlex 3P Integrated
152.It
153Compaq NetFlex 3P w/BNC
154.El
155.Sh DIAGNOSTICS
156.Bl -diag
157.It "tl%d: couldn't map memory"
158A fatal initialization error has occurred.
159.It "tl%d: couldn't map interrupt"
160A fatal initialization error has occurred.
161.It "tl%d: device timeout"
162The device has stopped responding to the network, or there is a problem with
163the network connection (cable).
164.It "tl%d: no memory for rx list"
165The driver failed to allocate an mbuf for the receiver ring.
166.It "tl%d: no memory for tx list"
167The driver failed to allocate an mbuf for the transmitter ring when
168allocating a pad buffer or collapsing an mbuf chain into a cluster.
169.El
170.Sh SEE ALSO
171.Xr arp 4 ,
172.Xr miibus 4 ,
173.Xr netintro 4 ,
174.Xr ng_ether 4 ,
175.Xr ifconfig 8
176.Sh HISTORY
177The
178.Nm
179device driver first appeared in
180.Fx 2.2 .
181.Sh AUTHORS
182The
183.Nm
184driver was written by
185.An Bill Paul Aq Mt wpaul@ctr.columbia.edu .
186