xref: /openbsd-src/share/man/man4/xl.4 (revision 73d4fc9bd5f7838a0f9b6cdbb145f9c58519a740)
1*73d4fc9bSjmc.\"	$OpenBSD: xl.4,v 1.48 2013/08/14 06:32:35 jmc Exp $
2a6f139cfSjason.\"
3a6f139cfSjason.\" Copyright (c) 1997, 1998
4a6f139cfSjason.\"     Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
5a6f139cfSjason.\"
6a6f139cfSjason.\" Redistribution and use in source and binary forms, with or without
7a6f139cfSjason.\" modification, are permitted provided that the following conditions
8a6f139cfSjason.\" are met:
9a6f139cfSjason.\" 1. Redistributions of source code must retain the above copyright
10a6f139cfSjason.\"    notice, this list of conditions and the following disclaimer.
11a6f139cfSjason.\" 2. Redistributions in binary form must reproduce the above copyright
12a6f139cfSjason.\"    notice, this list of conditions and the following disclaimer in the
13a6f139cfSjason.\"    documentation and/or other materials provided with the distribution.
14a6f139cfSjason.\" 3. All advertising materials mentioning features or use of this software
15a6f139cfSjason.\"    must display the following acknowledgement:
16a6f139cfSjason.\"     This product includes software developed by Bill Paul.
17a6f139cfSjason.\" 4. Neither the name of the author nor the names of any co-contributors
18a6f139cfSjason.\"    may be used to endorse or promote products derived from this software
19a6f139cfSjason.\"   without specific prior written permission.
20a6f139cfSjason.\"
21a6f139cfSjason.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
22a6f139cfSjason.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23a6f139cfSjason.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24a6f139cfSjason.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
25a6f139cfSjason.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26a6f139cfSjason.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27a6f139cfSjason.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28a6f139cfSjason.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29a6f139cfSjason.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30a6f139cfSjason.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31a6f139cfSjason.\" THE POSSIBILITY OF SUCH DAMAGE.
32a6f139cfSjason.\"
33d331de1dSaaron.\"     $FreeBSD: xl.4,v 1.1 1998/08/16 17:19:58 wpaul Exp $
34a6f139cfSjason.\"
35*73d4fc9bSjmc.Dd $Mdocdate: August 14 2013 $
363434ad13Sjason.Dt XL 4
37d331de1dSaaron.Os
38a6f139cfSjason.Sh NAME
39a6f139cfSjason.Nm xl
40*73d4fc9bSjmc.Nd 3Com EtherLink XL and Fast EtherLink XL 10/100 Ethernet device
41a6f139cfSjason.Sh SYNOPSIS
42afb7f3acSmickey.Cd "xl* at pci?"
43afb7f3acSmickey.Cd "xl* at cardbus?"
44afb7f3acSmickey.Cd "amphy* at mii?"
4567c23c61Sbrad.Cd "bmtphy* at mii?"
46afb7f3acSmickey.Cd "exphy* at mii?"
47afb7f3acSmickey.Cd "nsphy* at mii?"
48c76c371fSjsg.Cd "tqphy* at mii?"
49a6f139cfSjason.Sh DESCRIPTION
50a6f139cfSjasonThe
51629a9928Smpech.Nm
52d331de1dSaarondevice driver supports the 3Com EtherLink XL and Fast EtherLink XL family
53d331de1dSaaronof Ethernet cards, and embedded controllers based on the 3Com
54d331de1dSaaron.Dq boomerang
55094b681eSderaadtand
56d331de1dSaaron.Dq cyclone
57985768caSaaronbus master EtherLink XL chips.
58985768caSaaronThis includes, among others, the following models:
59d331de1dSaaron.Pp
6070db1bbbSderaadt.Bl -tag -width 3CXXXXX -offset indent -compact
6166c391cfSaaron.It 3C555
6266c391cfSaaronEtherLink XL Mini PCI
63a81f09eaSaaron.It 3C556
64a81f09eaSaaronEtherLink XL Mini PCI
65a81f09eaSaaron.It 3C556B
66a81f09eaSaaronEtherLink XL Mini PCI
67985768caSaaron.It 3C575
68985768caSaaron10/100 LAN CardBus PC Card
694e4105afSaaron.It 3C656
704e4105afSaaron10/100 LAN+Modem CardBus PC Card
71d331de1dSaaron.It 3C900
72d331de1dSaaronEtherLink XL PCI
73d331de1dSaaron.It 3C900B
74d331de1dSaaronEtherLink XL PCI
75d331de1dSaaron.It 3C905
76d331de1dSaaronFast EtherLink XL PCI
77d331de1dSaaron.It 3C905B
78d331de1dSaaronFast EtherLink XL PCI
796c185eb6Saaron.It 3C905C
806c185eb6SaaronFast EtherLink XL PCI
816c185eb6Saaron.It 3C980
826c185eb6SaaronFast EtherLink Server NIC
836c185eb6Saaron.It 3CSOHO
846c185eb6SaaronOfficeConnect Fast Ethernet NIC
851d2bd2fdShenning.It 9201
86273bf991SjmcNVIDIA nForce2 integrated 3Com 9201 (nForce2-ST, nForce2-GT)
8770db1bbbSderaadt.It 920BEMB
8870db1bbbSderaadt3c920B-EMB-WNM Integrated Fast Ethernet.
89d331de1dSaaron.El
90d331de1dSaaron.Pp
91d331de1dSaaronCategory 3, 4 or 5 unshielded twisted-pair (UTP) cable should be used for
92d331de1dSaaronRJ-45 (10baseT), thick Ethernet coaxial (RG59 B/U, 50 ohm) for AUI/DIX,
93d331de1dSaaronand thin Ethernet coaxial (RG58 A/U or C/U, 50 ohm +/- 4) for BNC (10base2).
94d331de1dSaaronSome 3Com NICs also support MII connectors (switchable 10/100Mbps UTP).
95d331de1dSaaronThe 3C905B-FX and other similar cards are capable of 100Mbps over fiber.
96a6f139cfSjason.Pp
97080e87e3SbradHardware receive IP/TCP/UDP checksum offload for IPv4 is supported on the 3C905B.
981352a2f2Saaron.Pp
99a350bc90SstspThe
100a350bc90Sstsp.Nm
101a350bc90Sstspdriver additionally supports Wake on LAN (WoL).
102a350bc90SstspSee
103a350bc90Sstsp.Xr arp 8
104a350bc90Sstspand
105a350bc90Sstsp.Xr ifconfig 8
106a350bc90Sstspfor more details.
107a350bc90Sstsp.Pp
108d331de1dSaaronThe following media types and options (as given to
109d331de1dSaaron.Xr ifconfig 8 )
110d331de1dSaaronare supported:
111d331de1dSaaron.Bl -tag -width xxx -offset indent
112d331de1dSaaron.It Cm media No autoselect
113985768caSaaronEnable autoselection of media type and options.
114985768caSaaronNote that this media type is only available with
115985768caSaaronadapters that have external PHYs or built-in autonegotiation logic.
116985768caSaaronFor 3C900 and 3C900B adapters, the driver
117985768caSaaronwill choose the mode specified in the EEPROM.
1185012a417SjmcThis can be changed by adding media options to the appropriate
1197908d52fSmiod.Xr hostname.if 5
120e175ee05Sjasonfile.
121d331de1dSaaron.It Cm media No 100baseFX Cm mediaopt No full-duplex
122d331de1dSaaronFor those cards that support it, force full-duplex 100Mbps operation over fiber.
123d331de1dSaaron.It Cm media No 100baseFX Cm mediaopt No half-duplex
124d331de1dSaaronFor those cards that support it, force half-duplex 100Mbps operation over fiber.
125d331de1dSaaron.It Cm media No 100baseTX Cm mediaopt No full-duplex
126d331de1dSaaronSet 100Mbps (Fast Ethernet) operation and force full-duplex mode.
127d331de1dSaaron.It Cm media No 100baseTX Cm mediaopt No half-duplex
128d331de1dSaaronSet 100Mbps (Fast Ethernet) operation and force half-duplex mode.
129d331de1dSaaron.It Cm media No 10baseT Cm mediaopt No full-duplex
130d331de1dSaaronSet 10baseT (UTP) operation and force full-duplex mode.
131d331de1dSaaron.It Cm media No 10baseT Cm mediaopt No half-duplex
132d331de1dSaaronSet 10baseT (UTP) operation and force half-duplex mode.
133d331de1dSaaron.It Cm media No 10base5
134d331de1dSaaronSet 10base5 (thick-net) operation (half-duplex only).
135d331de1dSaaron.It Cm media No 10base2
136d331de1dSaaronSet 10base2 (thin-net) operation (half-duplex only).
137a6f139cfSjason.El
138a6f139cfSjason.Pp
13980a33941SaaronFor more information on configuring this device, see
140a6f139cfSjason.Xr ifconfig 8 .
1415012a417SjmcTo view a list of media types and options supported by this card try
14257a2c668Sjmc.Ic ifconfig <device> media .
143d331de1dSaaronFor example,
14457a2c668Sjmc.Ic ifconfig xl0 media .
145a6f139cfSjason.Sh DIAGNOSTICS
146a6f139cfSjason.Bl -diag
147b07071f0Stedu.It "xl0: couldn't map memory"
148a6f139cfSjasonA fatal initialization error has occurred.
149b07071f0Stedu.It "xl0: couldn't map interrupt"
150a6f139cfSjasonA fatal initialization error has occurred.
151b07071f0Stedu.It "xl0: device timeout"
152a6f139cfSjasonThe device has stopped responding to the network, or there is a problem with
153a6f139cfSjasonthe network connection (cable).
154b07071f0Stedu.It "xl0: no memory for rx list"
155a6f139cfSjasonThe driver failed to allocate an mbuf for the receiver ring.
156b07071f0Stedu.It "xl0: no memory for tx list"
157fae1d0f6SaaronThe driver failed to allocate an mbuf for the transmitter ring when
158a6f139cfSjasonallocating a pad buffer or collapsing an mbuf chain into a cluster.
159b07071f0Stedu.It "xl0: command never completed!"
160d331de1dSaaronSome commands issued to the 3C90x ASIC take time to complete: the
161985768caSaarondriver is supposed to wait until the
162985768caSaaron.Dq command in progress
163985768caSaaronbit in the status register clears before continuing.
16408ffcc0aSjmcIn some instances, this bit may not clear.
165985768caSaaronTo avoid getting caught in an infinite wait loop,
166d331de1dSaaronthe driver only polls the bit a finite number of times before
167985768caSaarongiving up, at which point it issues this message.
168985768caSaaronThis message may be printed during driver initialization on slower machines.
1695012a417SjmcIf this message appears but the driver continues to function normally, the
170a6f139cfSjasonmessage can probably be ignored.
171b07071f0Stedu.It "xl0: WARNING: no media options bits set in the media options register!"
172a6f139cfSjasonThis warning may appear when using the driver on some Dell Latitude
173985768caSaarondocking stations with built-in 3C905-TX adapters.
174985768caSaaronFor whatever the reason, the
175985768caSaaron.Dq MII available
176985768caSaaronbit in the media options register on
177a6f139cfSjasonthis particular equipment is not set, even though it should be (the
178985768caSaaron3C905-TX always uses an external PHY transceiver).
179985768caSaaronThe driver will
180985768caSaaronattempt to guess the proper media type based on the PCI device ID word.
181985768caSaaronThe driver makes a lot of noise about this condition because
182a6f139cfSjasonthe author considers it a manufacturing defect.
183a6f139cfSjason.El
184a6f139cfSjason.Sh SEE ALSO
18546969f78Smickey.Xr amphy 4 ,
18647bb6a13Smiod.Xr arp 4 ,
18767c23c61Sbrad.Xr bmtphy 4 ,
18847bb6a13Smiod.Xr cardbus 4 ,
18946969f78Smickey.Xr exphy 4 ,
190d331de1dSaaron.Xr ifmedia 4 ,
19147bb6a13Smiod.Xr intro 4 ,
19247bb6a13Smiod.Xr netintro 4 ,
19346969f78Smickey.Xr nsphy 4 ,
194c76c371fSjsg.Xr tqphy 4 ,
1957908d52fSmiod.Xr hostname.if 5 ,
196a6f139cfSjason.Xr ifconfig 8
197a6f139cfSjason.Sh HISTORY
198a6f139cfSjasonThe
199a6f139cfSjason.Nm
200a6f139cfSjasondevice driver first appeared in
201985768caSaaron.Fx 3.0 .
202a6f139cfSjason.Ox
203a6f139cfSjasonsupport was added in
204a6f139cfSjason.Ox 2.4 .
205d97e605aStodd.Sh AUTHORS
206a6f139cfSjasonThe
207a6f139cfSjason.Nm
208a6f139cfSjasondriver was written by
209e5cc2e7eSschwarze.An Bill Paul Aq Mt wpaul@ctr.columbia.edu .
210