1998-05-21 03:20:39 +00:00
|
|
|
.\" Copyright (c) 1997, 1998
|
|
|
|
.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by Bill Paul.
|
|
|
|
.\" 4. Neither the name of the author nor the names of any co-contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
|
|
.\" THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1998-05-21 03:20:39 +00:00
|
|
|
.\"
|
2005-07-19 00:26:30 +00:00
|
|
|
.Dd July 16, 2005
|
1999-11-15 23:14:32 +00:00
|
|
|
.Dt TL 4
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1998-05-21 03:20:39 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm tl
|
2005-07-19 00:26:30 +00:00
|
|
|
.Nd "Texas Instruments ThunderLAN Ethernet device driver"
|
1998-05-21 03:20:39 +00:00
|
|
|
.Sh SYNOPSIS
|
2005-10-07 02:32:16 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
2005-07-21 05:02:39 +00:00
|
|
|
kernel configuration file:
|
2005-07-19 00:26:30 +00:00
|
|
|
.Bd -ragged -offset indent
|
2000-01-23 16:13:26 +00:00
|
|
|
.Cd "device miibus"
|
|
|
|
.Cd "device tl"
|
2005-07-19 00:26:30 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2005-10-07 02:32:16 +00:00
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
2005-07-19 00:26:30 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
if_tl_load="YES"
|
|
|
|
.Ed
|
1998-05-21 03:20:39 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2004-09-03 12:24:50 +00:00
|
|
|
driver provides support for PCI Ethernet adapters based on the Texas
|
|
|
|
Instruments ThunderLAN Ethernet controller chip.
|
1998-05-21 03:20:39 +00:00
|
|
|
.Pp
|
|
|
|
The ThunderLAN controller has a standard MII interface that supports
|
2004-07-03 18:29:24 +00:00
|
|
|
up to 32 physical interface devices (PHYs).
|
|
|
|
It also has a built-in
|
1998-05-21 03:20:39 +00:00
|
|
|
10baseT PHY hardwired at MII address 31, which may be used in some
|
2000-03-01 14:50:24 +00:00
|
|
|
10Mbps-only hardware configurations.
|
|
|
|
In 100Mbps configurations, a
|
1998-05-21 03:20:39 +00:00
|
|
|
National Semiconductor DP83840A or other MII-compliant PHY may be
|
2000-03-01 14:50:24 +00:00
|
|
|
attached to the ThunderLAN's MII bus.
|
|
|
|
If a DP83840A or equivalent
|
1998-05-21 03:20:39 +00:00
|
|
|
is available, the ThunderLAN chip can operate at either 100Mbps or
|
2000-03-01 14:50:24 +00:00
|
|
|
10Mbps in either half-duplex or full-duplex modes.
|
|
|
|
The ThunderLAN's
|
1998-05-21 03:20:39 +00:00
|
|
|
built-in PHY and the DP83840A also support autonegotiation.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media types:
|
|
|
|
.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
|
|
|
|
.It autoselect
|
2000-03-01 14:50:24 +00:00
|
|
|
Enable autoselection of the media type and options.
|
|
|
|
Note that this
|
1998-05-21 03:20:39 +00:00
|
|
|
option is only available on those PHYs that support autonegotiation.
|
2002-01-21 12:09:13 +00:00
|
|
|
Also, the PHY will not advertise those modes that have been explicitly
|
1998-05-21 03:20:39 +00:00
|
|
|
disabled using the following media options.
|
|
|
|
.It 10baseT/UTP
|
2012-05-12 03:25:46 +00:00
|
|
|
Set 10Mbps operation.
|
1998-05-21 03:20:39 +00:00
|
|
|
.It 100baseTX
|
2012-05-12 03:25:46 +00:00
|
|
|
Set 100Mbps (Fast Ethernet) operation.
|
1998-05-21 03:20:39 +00:00
|
|
|
.It 10base5/AUI
|
|
|
|
Enable AUI/BNC interface (useful only with the built-in PHY).
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media options:
|
|
|
|
.Bl -tag -width xxxxxxxxxxxxxxxxxxxx
|
|
|
|
.It full-duplex
|
2012-05-12 03:25:46 +00:00
|
|
|
Force full duplex operation.
|
1998-05-21 03:20:39 +00:00
|
|
|
.It half-duplex
|
|
|
|
Force half duplex operation.
|
|
|
|
.It hw-loopback
|
|
|
|
Enable hardware loopback mode.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
Note that the 100baseTX media type is only available if supported
|
|
|
|
by the PHY.
|
|
|
|
For more information on configuring this device, see
|
|
|
|
.Xr ifconfig 8 .
|
2004-09-03 12:24:50 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports Texas Instruments ThunderLAN based
|
|
|
|
Ethernet and Fast Ethernet adapters including a large
|
|
|
|
number of Compaq PCI Ethernet adapters.
|
|
|
|
Also supported are:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
Olicom OC-2135/2138 10/100 TX UTP adapter
|
|
|
|
.It
|
|
|
|
Olicom OC-2325/OC-2326 10/100 TX UTP adapter
|
|
|
|
.It
|
|
|
|
Racore 8148 10baseT/100baseTX/100baseFX adapter
|
|
|
|
.It
|
|
|
|
Racore 8165 10/100baseTX adapter
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver also supports the built-in Ethernet adapters of
|
|
|
|
various Compaq Prosignia servers and Compaq Deskpro desktop
|
|
|
|
machines including:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
Compaq Netelligent 10
|
|
|
|
.It
|
|
|
|
Compaq Netelligent 10 T PCI UTP/Coax
|
|
|
|
.It
|
|
|
|
Compaq Netelligent 10/100
|
|
|
|
.It
|
|
|
|
Compaq Netelligent 10/100 Dual-Port
|
|
|
|
.It
|
|
|
|
Compaq Netelligent 10/100 Proliant
|
|
|
|
.It
|
|
|
|
Compaq Netelligent 10/100 TX Embedded UTP
|
|
|
|
.It
|
|
|
|
Compaq Netelligent 10/100 TX UTP
|
|
|
|
.It
|
|
|
|
Compaq NetFlex 3P
|
|
|
|
.It
|
|
|
|
Compaq NetFlex 3P Integrated
|
|
|
|
.It
|
|
|
|
Compaq NetFlex 3P w/BNC
|
|
|
|
.El
|
1998-05-21 03:20:39 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It "tl%d: couldn't map memory"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "tl%d: couldn't map interrupt"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "tl%d: device timeout"
|
|
|
|
The device has stopped responding to the network, or there is a problem with
|
|
|
|
the network connection (cable).
|
|
|
|
.It "tl%d: no memory for rx list"
|
|
|
|
The driver failed to allocate an mbuf for the receiver ring.
|
|
|
|
.It "tl%d: no memory for tx list"
|
1998-12-05 09:31:25 +00:00
|
|
|
The driver failed to allocate an mbuf for the transmitter ring when
|
1998-05-21 03:20:39 +00:00
|
|
|
allocating a pad buffer or collapsing an mbuf chain into a cluster.
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr arp 4 ,
|
2003-02-15 17:12:53 +00:00
|
|
|
.Xr miibus 4 ,
|
2001-07-14 19:41:16 +00:00
|
|
|
.Xr netintro 4 ,
|
2000-05-04 17:40:13 +00:00
|
|
|
.Xr ng_ether 4 ,
|
|
|
|
.Xr ifconfig 8
|
1998-05-21 03:20:39 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device driver first appeared in
|
|
|
|
.Fx 2.2 .
|
1999-08-15 10:48:36 +00:00
|
|
|
.Sh AUTHORS
|
1998-05-21 03:20:39 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Bill Paul Aq Mt wpaul@ctr.columbia.edu .
|