2001-09-19 04:49:55 +04:00
|
|
|
.\" $NetBSD: ep.4,v 1.31 2001/09/19 00:49:57 wiz Exp $
|
1997-02-17 15:05:02 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1997 Jonathan Stone
|
|
|
|
.\" All rights reserved.
|
1994-02-05 05:30:49 +03:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1994 Herb Peyerl
|
|
|
|
.\" 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
|
1997-02-17 15:05:02 +03:00
|
|
|
.\" must display the following acknowledgements:
|
1994-02-05 05:30:49 +03:00
|
|
|
.\" This product includes software developed by Herb Peyerl
|
1997-02-17 15:05:02 +03:00
|
|
|
.\" This product includes software developed by Jonathan Stone
|
1999-04-07 00:24:37 +04:00
|
|
|
.\" 4. The name of the author may not be used to endorse or promote products
|
1994-02-05 05:30:49 +03:00
|
|
|
.\" derived from this software without specific prior written permission
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 THE AUTHOR 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.
|
|
|
|
.\"
|
2001-04-11 22:31:53 +04:00
|
|
|
.Dd March 17, 2001
|
1994-02-05 05:30:49 +03:00
|
|
|
.Dt EP 4
|
1999-03-16 04:19:14 +03:00
|
|
|
.Os
|
1994-02-05 05:30:49 +03:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ep
|
1999-12-16 01:07:30 +03:00
|
|
|
.Nd driver for 3Com Etherlink III Ethernet interfaces
|
1994-02-05 05:30:49 +03:00
|
|
|
.Sh SYNOPSIS
|
1997-10-21 01:11:05 +04:00
|
|
|
.Cd "ep0 at isa? port ? irq ?"
|
1997-02-17 15:05:02 +03:00
|
|
|
.Cd "ep* at isapnp?"
|
|
|
|
.Cd "ep* at eisa? slot ?"
|
2001-03-22 20:04:37 +03:00
|
|
|
.Cd "ep* at mca? slot ?"
|
1997-10-21 01:11:05 +04:00
|
|
|
.Cd "ep* at pci? dev ? function ?"
|
|
|
|
.Cd "ep* at pcmcia? function ?"
|
1994-02-05 05:30:49 +03:00
|
|
|
.Sh DESCRIPTION
|
1994-04-13 11:01:50 +04:00
|
|
|
The
|
1994-02-05 05:30:49 +03:00
|
|
|
.Nm ep
|
1997-10-21 01:11:05 +04:00
|
|
|
device driver supports the 3Com Etherlink III family of Ethernet cards.
|
|
|
|
.Pp
|
1998-11-03 09:44:14 +03:00
|
|
|
The 3c515 is an ISA 10/100 card with DMA capability.
|
1997-10-21 01:11:05 +04:00
|
|
|
The chipset is similar to that of the 3c905, with some changes to
|
|
|
|
make it work with the more limited ISA bus address space. This card
|
2001-07-27 07:01:41 +04:00
|
|
|
is supported, although DMA is not used.
|
1994-04-13 11:01:50 +04:00
|
|
|
.Pp
|
1998-11-03 09:44:14 +03:00
|
|
|
The EISA and PCI 3c59x devices use an older DMA engine which is not
|
|
|
|
capable of multi-segment DMA. DMA on these devices is not used.
|
1997-04-27 13:43:05 +04:00
|
|
|
.Pp
|
2001-03-22 20:04:37 +03:00
|
|
|
The 3c529 is a MCA device, and doesn't support DMA.
|
|
|
|
.Pp
|
1998-11-03 09:44:14 +03:00
|
|
|
The PCI 3c90x devices have multi-segment DMA capability, which is
|
|
|
|
not supported by the
|
|
|
|
.Nm
|
|
|
|
driver. To use the DMA capabilities of these cards, the
|
|
|
|
.Xr ex 4
|
|
|
|
driver must be used.
|
1997-10-21 01:11:05 +04:00
|
|
|
.Pp
|
1998-11-03 09:44:14 +03:00
|
|
|
The PCI 3c90xB devices are not supported by the
|
|
|
|
.Nm
|
|
|
|
driver, as they do not include support for programmed I/O. These
|
|
|
|
devices are supported by the
|
|
|
|
.Xr ex 4
|
|
|
|
driver.
|
1997-04-27 13:43:05 +04:00
|
|
|
.Pp
|
2000-01-28 04:55:27 +03:00
|
|
|
The 3c575 is a CardBus device, and is supported by
|
|
|
|
.Xr ex 4
|
|
|
|
driver.
|
1998-11-03 09:44:14 +03:00
|
|
|
.Sh MEDIA SELECTION
|
|
|
|
There are 3 main chipset classes supported by the
|
|
|
|
.Nm
|
|
|
|
driver. Each has their own media selection capabilities.
|
1994-04-13 11:01:50 +04:00
|
|
|
.Pp
|
1998-11-03 09:44:14 +03:00
|
|
|
The first class is the
|
|
|
|
.Dq 3c509
|
2001-03-22 20:04:37 +03:00
|
|
|
class. This includes the 3c509, 3c509B, 3c529, 3c579, 3c562, and 3c589. These
|
2001-06-30 20:55:03 +04:00
|
|
|
devices can support 10BASE-T, 10BASE2, and 10BASE5. Available media will
|
1998-11-03 09:44:14 +03:00
|
|
|
be displayed when the device is found by the kernel.
|
1997-10-21 01:11:05 +04:00
|
|
|
.Pp
|
1998-11-03 09:44:14 +03:00
|
|
|
The second class is the
|
|
|
|
.Dq Vortex
|
|
|
|
class. This includes the 3c592, 3c579, 3c590, and 3c595. This class also
|
|
|
|
includes the 3c900-TPO and 3c900-COMBO; they use the
|
|
|
|
.Dq Boomerang
|
2001-07-27 07:01:41 +04:00
|
|
|
chipset, but use Vortex-style media selection. These devices have many
|
|
|
|
different media types varying by model. Some models have an external MII
|
|
|
|
connector for connecting an external PHY. This is supported by means of the
|
|
|
|
"manual" media type. Available media will be displayed when the device is
|
|
|
|
found by the kernel.
|
1994-04-13 11:01:50 +04:00
|
|
|
.Pp
|
1998-11-03 09:44:14 +03:00
|
|
|
The third class is the
|
|
|
|
.Dq Boomerang
|
2001-07-27 07:01:41 +04:00
|
|
|
class. This includes the 3c515, 3c905, and 3c574. These devices support
|
|
|
|
media selection via MII. The 3c515 and 3c905 have an
|
1999-12-02 22:13:32 +03:00
|
|
|
.Xr nsphy 4 ,
|
2001-07-27 07:01:41 +04:00
|
|
|
and the 3c574 has a
|
1999-12-02 22:13:32 +03:00
|
|
|
.Xr tqphy 4 ,
|
|
|
|
for this purpose. See
|
1998-11-03 09:44:14 +03:00
|
|
|
.Xr ifmedia 4
|
|
|
|
and
|
|
|
|
.Xr mii 4
|
|
|
|
for more information.
|
1999-12-17 19:23:20 +03:00
|
|
|
.Sh HARDWARE
|
|
|
|
Supported cards include:
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -width xxxxxx -offset indent
|
|
|
|
.It 3c509
|
|
|
|
ISA 10Mbps card, in BNC and multiport variants
|
|
|
|
.It 3c509B
|
|
|
|
ISA Plug-and-Play 10Mbps card, in BNC and multiport variants
|
2001-07-27 07:01:41 +04:00
|
|
|
.It 3c515
|
|
|
|
ISA Plug-and-Play 10/100 card with UTP
|
2001-03-22 20:04:37 +03:00
|
|
|
.It 3c529
|
|
|
|
MCA 10Mbps card, in UTP+AUI and BNC+AUI variants
|
1999-12-17 19:23:20 +03:00
|
|
|
.It 3c579
|
2001-03-22 20:04:37 +03:00
|
|
|
EISA 10Mbps card, in UTP, BNC, and multiport variants
|
1999-12-17 19:23:20 +03:00
|
|
|
.It 3c592
|
|
|
|
EISA 10Mbps card with DMA capability
|
|
|
|
.It 3c597
|
|
|
|
EISA 10/100Mbps card with DMA capability
|
|
|
|
.It 3c590
|
|
|
|
PCI 10Mbps multiport card with DMA capability
|
|
|
|
.It 3c595
|
|
|
|
PCI 10/100Mbps with different media options and DMA capability
|
|
|
|
.It 3c900
|
2001-06-30 20:55:03 +04:00
|
|
|
PCI 10Mbps card in 10BASE-T and multiport variants with DMA capability
|
1999-12-17 19:23:20 +03:00
|
|
|
.It 3c905
|
2001-06-30 20:55:03 +04:00
|
|
|
PCI 10/100Mbps card in 10BASE-T, multiport, and fast variants with
|
1999-12-17 19:23:20 +03:00
|
|
|
DMA capability
|
|
|
|
.It 3c562
|
|
|
|
PCMCIA modem/10Mbps Ethernet combo card with dongle
|
|
|
|
.It 3c574
|
|
|
|
PCMCIA 10/100Mbps card with dongle
|
|
|
|
.It 3c589
|
|
|
|
PCMCIA 10Mbps card with dongle
|
|
|
|
.El
|
1994-02-05 05:30:49 +03:00
|
|
|
.Sh NOTES
|
1997-04-27 13:43:05 +04:00
|
|
|
Etherlink III cards have no jumpers to set the address.
|
1995-07-11 05:49:39 +04:00
|
|
|
3Com supplies software to set the address of the card in software.
|
1994-04-13 11:01:50 +04:00
|
|
|
To find the card on the ISA bus, the kernel performs a complex
|
|
|
|
scan operation at IO address 0x100.
|
2001-07-27 07:01:41 +04:00
|
|
|
.Em Beware!
|
1994-04-13 11:01:50 +04:00
|
|
|
Avoid placing other cards at that address!
|
|
|
|
.Pp
|
1997-02-17 15:05:02 +03:00
|
|
|
The 3Com configuration utilities can `autosense' the active media and
|
1997-04-27 13:43:05 +04:00
|
|
|
save it as default. The saved default medium is the medium that
|
2001-03-22 20:04:37 +03:00
|
|
|
was active at the time the configuration utility was run. The
|
1997-10-21 01:11:05 +04:00
|
|
|
.Nm
|
1997-04-27 13:43:05 +04:00
|
|
|
driver does not yet re-autosense the active media at boot time.
|
|
|
|
If the EEPROM autosense bit is set, the driver simply uses the media
|
|
|
|
type sensed and saved when the configuration utility was run.
|
1994-02-05 05:30:49 +03:00
|
|
|
.Sh DIAGNOSTICS
|
1997-11-11 08:11:27 +03:00
|
|
|
.Bl -diag
|
|
|
|
.It "ep0: reset (status: %x)"
|
1994-02-05 05:30:49 +03:00
|
|
|
the driver has encountered a FIFO underrun or overrun. The driver will reset
|
|
|
|
the card and the packet will be lost. This is not fatal.
|
1997-11-11 08:11:27 +03:00
|
|
|
.It "ep0: eeprom failed to come ready"
|
1994-02-05 05:30:49 +03:00
|
|
|
The eeprom failed to come ready. This probably means the card is wedged.
|
1997-11-11 08:11:27 +03:00
|
|
|
.It "ep0: 3c509 in test mode. Erase pencil mark!"
|
1994-02-05 05:30:49 +03:00
|
|
|
This means that someone has scribbled with pencil in the test area on the
|
|
|
|
card. Erase the pencil mark and reboot. (This is not a joke).
|
1997-11-11 08:11:27 +03:00
|
|
|
.El
|
1994-02-05 05:30:49 +03:00
|
|
|
.Sh SEE ALSO
|
2000-01-28 04:55:27 +03:00
|
|
|
.Xr eisa 4 ,
|
|
|
|
.Xr ex 4 ,
|
1998-11-03 09:44:14 +03:00
|
|
|
.Xr ifmedia 4 ,
|
1995-07-11 05:42:57 +04:00
|
|
|
.Xr intro 4 ,
|
1997-04-27 13:43:05 +04:00
|
|
|
.Xr isa 4 ,
|
|
|
|
.Xr isapnp 4 ,
|
2001-03-22 20:04:37 +03:00
|
|
|
.Xr mca 4 ,
|
2000-01-28 04:55:27 +03:00
|
|
|
.Xr mii 4 ,
|
2001-03-22 20:04:37 +03:00
|
|
|
.Xr nsphy 4 ,
|
1997-10-21 01:11:05 +04:00
|
|
|
.Xr pci 4 ,
|
2000-01-28 04:55:27 +03:00
|
|
|
.Xr pcmcia 4 ,
|
2001-09-19 04:49:55 +04:00
|
|
|
.Xr tqphy 4 ,
|
2000-01-28 04:55:27 +03:00
|
|
|
.Xr ifconfig 8
|