1994-08-23 09:50:48 +00:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1994, David Greenman
|
|
|
|
.\" 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 David Greenman.
|
|
|
|
.\" 4. The name of the author may not be used to endorse or promote products
|
|
|
|
.\" derived from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 THE AUTHOR OR CONTRIBUTORS 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$
|
1994-08-23 09:50:48 +00:00
|
|
|
.\"
|
2005-10-05 05:41:02 +00:00
|
|
|
.Dd October 5, 2005
|
2001-02-20 11:07:27 +00:00
|
|
|
.Dt ED 4
|
2001-07-10 15:31:11 +00:00
|
|
|
.Os
|
1994-08-23 09:50:48 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm ed
|
2005-07-19 00:26:30 +00:00
|
|
|
.Nd "NE-2000 and WD-80x3 Ethernet driver"
|
1994-08-23 09:50:48 +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
|
2001-10-07 16:39:40 +00:00
|
|
|
.Cd "device miibus"
|
2002-05-29 16:59:10 +00:00
|
|
|
.Cd "device ed"
|
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_ed_load="YES"
|
|
|
|
.Ed
|
1994-08-23 09:50:48 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
2000-11-20 18:41:33 +00:00
|
|
|
.Nm
|
2004-09-16 20:33:32 +00:00
|
|
|
driver provides support for 8 and 16bit Ethernet cards that are based on
|
2005-02-23 23:55:32 +00:00
|
|
|
the National Semiconductor DS8390 and similar NICs manufactured by
|
|
|
|
other companies.
|
2005-10-05 05:41:02 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver also supports many PC Card chips which interface via MII to a PHY.
|
|
|
|
Axiom's AX88790, AX88190 and AX88190A;
|
|
|
|
DLink's DL10019 and DL10022; and
|
|
|
|
Tamarack's TC5299J chips all support internal or external MII/PHY combinations.
|
|
|
|
For these chipsets, autonegotiation and status reporting are supported.
|
1997-01-20 09:15:35 +00:00
|
|
|
.Pp
|
1994-08-23 09:50:48 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver uses a unique multi-buffering mechanism to achieve high transmit performance.
|
|
|
|
When using 16bit ISA cards, as high as 97% of the theoretical maximum performance of
|
2004-09-16 20:33:32 +00:00
|
|
|
the IEEE 802.3 CSMA Ethernet is possible.
|
1994-08-23 09:50:48 +00:00
|
|
|
.Pp
|
2002-01-17 08:42:31 +00:00
|
|
|
In addition to the standard port and IRQ specifications, the
|
1994-08-23 09:50:48 +00:00
|
|
|
.Nm
|
|
|
|
driver also supports a number of
|
2002-01-17 08:42:31 +00:00
|
|
|
.Cd flags
|
1994-08-23 10:51:40 +00:00
|
|
|
which can force 8/16bit mode, enable/disable multi-buffering, and select the default
|
1994-08-23 09:50:48 +00:00
|
|
|
interface type (AUI/BNC, and for cards with twisted pair, AUI/10BaseT).
|
|
|
|
.Pp
|
|
|
|
The
|
2002-01-17 08:42:31 +00:00
|
|
|
.Cd flags
|
1998-06-08 06:12:02 +00:00
|
|
|
are a bit field, and are summarized as follows:
|
2002-01-17 08:42:31 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Li 0x01
|
|
|
|
Disable transceiver.
|
|
|
|
On those cards which support it, this flag causes the transceiver to
|
1994-08-23 09:50:48 +00:00
|
|
|
be disabled and the AUI connection to be used by default.
|
2002-01-17 08:42:31 +00:00
|
|
|
.It Li 0x02
|
2000-03-02 14:54:02 +00:00
|
|
|
Force 8bit mode.
|
|
|
|
This flag forces the card to 8bit mode regardless of how the
|
|
|
|
card identifies itself.
|
|
|
|
This may be needed for some clones which incorrectly
|
1994-08-23 09:50:48 +00:00
|
|
|
identify themselves as 16bit, even though they only have an 8bit interface.
|
2005-02-23 23:55:32 +00:00
|
|
|
This flag takes precedence over force 16bit mode.
|
2002-01-17 08:42:31 +00:00
|
|
|
.It Li 0x04
|
2000-03-02 14:54:02 +00:00
|
|
|
Force 16bit mode.
|
|
|
|
This flag forces the card to 16bit mode regardless of how the
|
|
|
|
card identifies itself.
|
|
|
|
This may be needed for some clones which incorrectly
|
1994-08-23 09:50:48 +00:00
|
|
|
identify themselves as 8bit, even though they have a 16bit ISA interface.
|
2002-01-17 08:42:31 +00:00
|
|
|
.It Li 0x08
|
2000-03-02 14:54:02 +00:00
|
|
|
Disable transmitter multi-buffering.
|
|
|
|
This flag disables the use of multiple
|
1994-08-23 09:50:48 +00:00
|
|
|
transmit buffers and may be necessary in rare cases where packets are sent out
|
|
|
|
faster than a machine on the other end can handle (as evidenced by severe packet
|
2002-01-17 08:42:31 +00:00
|
|
|
lossage).
|
|
|
|
Some
|
2001-02-01 16:38:02 +00:00
|
|
|
.No ( non- Ns Fx
|
2004-09-16 20:33:32 +00:00
|
|
|
:-)) machines have terrible Ethernet performance
|
2005-02-13 22:25:33 +00:00
|
|
|
and simply cannot cope with 1100K+ data rates.
|
2000-03-02 14:54:02 +00:00
|
|
|
Use of this flag also provides
|
1994-08-23 09:50:48 +00:00
|
|
|
one more packet worth of receiver buffering, and on 8bit cards, this may help
|
|
|
|
reduce receiver lossage.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
When using a 3c503 card, the AUI connection may be selected by specifying the
|
2002-01-17 08:42:31 +00:00
|
|
|
.Cm link2
|
1994-08-23 09:50:48 +00:00
|
|
|
option to
|
1997-02-05 15:07:37 +00:00
|
|
|
.Xr ifconfig 8
|
1994-08-23 09:50:48 +00:00
|
|
|
(BNC is the default).
|
2004-07-14 21:58:17 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following Ethernet NICs:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
2005-02-09 21:23:48 +00:00
|
|
|
3Com 3c503 Etherlink II
|
|
|
|
.Pq Cd "options ED_3C503"
|
2004-07-14 21:58:17 +00:00
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
AR-P500 Ethernet
|
2004-07-14 21:58:17 +00:00
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
Accton EN1644 (old model), EN1646 (old model), EN2203 (old model) (110pin)
|
|
|
|
(flags 0xd00000)
|
2004-07-14 21:58:17 +00:00
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
Accton EN2212/EN2216/UE2216
|
|
|
|
.It
|
|
|
|
Allied Telesis CentreCOM LA100-PCM_V2
|
|
|
|
.It
|
|
|
|
Allied Telesis LA-98 (flags 0x000000) (PC-98)
|
|
|
|
.It
|
|
|
|
Allied Telesis SIC-98, SIC-98NOTE (110pin), SIU-98 (flags 0x600000) (PC-98)
|
|
|
|
.It
|
|
|
|
Allied Telesis SIU-98-D (flags 0x610000) (PC-98)
|
|
|
|
.It
|
|
|
|
AmbiCom 10BaseT card
|
|
|
|
.It
|
|
|
|
Bay Networks NETGEAR FA410TXC Fast Ethernet
|
|
|
|
.It
|
2005-02-23 23:55:32 +00:00
|
|
|
Belkin F5D5020 PC Card Fast Ethernet
|
|
|
|
.It
|
2005-07-10 02:00:35 +00:00
|
|
|
Billionton LM5LT-10B Ethernet/Modem PC Card
|
|
|
|
.It
|
|
|
|
Bromax iPort 10/100 Ethernet PC Card
|
|
|
|
.It
|
|
|
|
Bromax iPort 10 Ethernet PC Card
|
|
|
|
.It
|
|
|
|
Buffalo LPC2-CLT, LPC3-CLT, LPC3-CLX, LPC4-TX PC Card
|
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
CNet BC40 adapter
|
|
|
|
.It
|
|
|
|
Compex Net-A adapter
|
|
|
|
.It
|
|
|
|
Contec C-NET(98), RT-1007(98), C-NET(9N) (110pin) (flags 0xa00000) (PC-98)
|
|
|
|
.It
|
|
|
|
Contec C-NET(98)E-A, C-NET(98)L-A, C-NET(98)P (flags 0x300000) (PC-98)
|
|
|
|
.It
|
|
|
|
Corega Ether98-T (flags 0x000000) (PC-98)
|
|
|
|
.It
|
|
|
|
Corega Ether PCC-T/EtherII PCC-T/FEther PCC-TXF/PCC-TXD
|
|
|
|
.It
|
2005-10-05 05:41:02 +00:00
|
|
|
Corega LAPCCTXD (TC5299J)
|
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
CyQ've ELA-010
|
|
|
|
.It
|
|
|
|
DEC EtherWorks DE305
|
|
|
|
.It
|
|
|
|
Danpex EN-6200P2
|
|
|
|
.It
|
|
|
|
D-Link DE-298, DE-298P (flags 0x500000) (PC-98)
|
|
|
|
.It
|
|
|
|
D-Link DE-650/660
|
|
|
|
.It
|
|
|
|
D-Link IC-CARD/IC-CARD+ Ethernet
|
|
|
|
.It
|
|
|
|
ELECOM LD-98P (flags 0x500000) (PC-98)
|
|
|
|
.It
|
|
|
|
ELECOM LD-BDN, LD-NW801G (flags 0x200000) (PC-98)
|
|
|
|
.It
|
|
|
|
ELECOM Laneed LD-CDL/TX, LD-CDF, LD-CDS, LD-10/100CD, LD-CDWA (DP83902A)
|
|
|
|
.It
|
2005-09-22 16:56:48 +00:00
|
|
|
Hawking PN652TX PC Card (AX88790)
|
|
|
|
.It
|
2005-02-09 21:23:48 +00:00
|
|
|
HP PC Lan+ 27247B and 27252A
|
|
|
|
.Pq Cd "options ED_HPP"
|
2004-09-16 20:33:32 +00:00
|
|
|
.It
|
|
|
|
IBM Creditcard Ethernet I/II
|
|
|
|
.It
|
|
|
|
ICM AD-ET2-T, DT-ET-25, DT-ET-T5, IF-2766ET, IF-2771ET, NB-ET-T (110pin)
|
|
|
|
(flags 0x500000) (PC-98)
|
|
|
|
.It
|
|
|
|
I-O DATA LA/T-98, LA/T-98SB, LA2/T-98, ET/T-98 (flags 0x900000) (PC-98)
|
|
|
|
.It
|
|
|
|
I-O DATA ET2/T-PCI
|
|
|
|
.It
|
|
|
|
I-O DATA PCLATE
|
|
|
|
.It
|
|
|
|
Kansai KLA-98C/T (flags 0x900000) (PC-98)
|
|
|
|
.It
|
2005-07-10 02:00:35 +00:00
|
|
|
Kingston KNE-PC2, CIO10T, KNE-PCM/x Ethernet
|
2004-09-16 20:33:32 +00:00
|
|
|
.It
|
|
|
|
Linksys EC2T/PCMPC100/PCM100, PCMLM56
|
|
|
|
.It
|
|
|
|
Linksys EtherFast 10/100 PC Card, Combo PCMCIA Ethernet Card (PCMPC100 V2)
|
|
|
|
.It
|
|
|
|
Logitec LAN-98T (flags 0xb00000) (PC-98)
|
|
|
|
.It
|
|
|
|
MACNICA Ethernet ME1 for JEIDA
|
|
|
|
.It
|
|
|
|
MACNICA ME98 (flags 0x900000) (PC-98)
|
|
|
|
.It
|
|
|
|
MACNICA NE2098 (flags 0x400000) (PC-98)
|
|
|
|
.It
|
|
|
|
MELCO EGY-98 (flags 0x300000) (PC-98)
|
|
|
|
.It
|
|
|
|
MELCO LGH-98, LGY-98, LGY-98-N (110pin), IND-SP, IND-SS (flags 0x400000) (PC-98)
|
|
|
|
.It
|
|
|
|
MELCO LGY-PCI-TR
|
|
|
|
.It
|
|
|
|
MELCO LPC-T/LPC2-T/LPC2-CLT/LPC2-TX/LPC3-TX/LPC3-CLX
|
|
|
|
.It
|
|
|
|
NDC Ethernet Instant-Link
|
|
|
|
.It
|
|
|
|
NEC PC-9801-77, PC-9801-78 (flags 0x910000) (PC-98)
|
|
|
|
.It
|
|
|
|
NEC PC-9801-107, PC-9801-108 (flags 0x800000) (PC-98)
|
|
|
|
.It
|
|
|
|
National Semiconductor InfoMover NE4100
|
|
|
|
.It
|
|
|
|
NetGear FA-410TX
|
|
|
|
.It
|
|
|
|
NetVin 5000
|
|
|
|
.It
|
|
|
|
Network Everywhere Ethernet 10BaseT PC Card
|
|
|
|
.It
|
|
|
|
Networld 98X3 (flags 0xd00000) (PC-98)
|
|
|
|
.It
|
|
|
|
Networld EC-98X, EP-98X (flags 0xd10000) (PC-98)
|
|
|
|
.It
|
2005-07-10 02:00:35 +00:00
|
|
|
New Media LANSurfer 10+56 Ethernet/Modem
|
|
|
|
.It
|
|
|
|
New Media LANSurfer
|
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
Novell NE1000/NE2000/NE2100
|
|
|
|
.It
|
|
|
|
PLANEX ENW-8300-T
|
|
|
|
.It
|
|
|
|
PLANEX EN-2298-C (flags 0x200000) (PC-98)
|
|
|
|
.It
|
|
|
|
PLANEX EN-2298P-T, EN-2298-T (flags 0x500000) (PC-98)
|
|
|
|
.It
|
|
|
|
PLANEX FNW-3600-T
|
2004-07-14 21:58:17 +00:00
|
|
|
.It
|
2005-07-10 02:00:35 +00:00
|
|
|
Psion 10/100 LANGLOBAL Combine iT
|
|
|
|
.It
|
2004-07-14 21:58:17 +00:00
|
|
|
RealTek 8029
|
|
|
|
.It
|
2005-07-10 02:00:35 +00:00
|
|
|
Relia Combo-L/M-56k PC Card
|
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
SMC Elite 16 WD8013
|
|
|
|
.It
|
|
|
|
SMC Elite Ultra
|
|
|
|
.It
|
|
|
|
SMC EtherEZ98 (flags 0x000000) (PC-98)
|
|
|
|
.It
|
|
|
|
SMC WD8003E/WD8003EBT/WD8003S/WD8003SBT/WD8003W/WD8013EBT/WD8013W and clones
|
|
|
|
.It
|
2005-10-05 05:41:02 +00:00
|
|
|
SMC EZCard PC Card, 8040-TX, 8041-TX, 8041-TX V.2
|
2005-07-10 02:00:35 +00:00
|
|
|
.It
|
|
|
|
Socket LP-E, ES-1000 Ethernet/Serial, LP-E CF, LP-FE CF
|
2004-09-16 20:33:32 +00:00
|
|
|
.It
|
|
|
|
Surecom EtherPerfect EP-427
|
|
|
|
.It
|
|
|
|
Surecom NE-34
|
|
|
|
.It
|
2005-07-10 02:00:35 +00:00
|
|
|
TDK 3000/3400/5670 Fast Etherenet/Modem
|
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
TDK LAK-CD031, Grey Cell GCS2000 Ethernet Card
|
|
|
|
.It
|
2005-07-10 02:00:35 +00:00
|
|
|
TDK DFL5610WS Ethernet/Modem PC Card
|
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
Telecom Device SuperSocket RE450T
|
|
|
|
.It
|
|
|
|
VIA VT86C926
|
2004-07-14 21:58:17 +00:00
|
|
|
.It
|
2004-09-16 20:33:32 +00:00
|
|
|
Winbond W89C940
|
2004-07-14 21:58:17 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
2004-09-16 20:33:32 +00:00
|
|
|
C-Bus, ISA, PCI and PC Card devices are supported.
|
1994-08-23 09:50:48 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
2001-07-14 19:41:16 +00:00
|
|
|
.It "ed%d: kernel configured irq %d doesn't match board configured irq %d."
|
2002-01-17 08:42:31 +00:00
|
|
|
The IRQ number that was specified in the kernel config file (and then compiled
|
|
|
|
into the kernel) differs from the IRQ that has been set on the interface card.
|
1994-08-23 09:50:48 +00:00
|
|
|
.It "ed%d: failed to clear shared memory at %x - check configuration."
|
|
|
|
When the card was probed at system boot time, the
|
2000-11-20 18:41:33 +00:00
|
|
|
.Nm
|
2000-03-02 14:54:02 +00:00
|
|
|
driver found that it could not clear the card's shared memory.
|
|
|
|
This is most commonly
|
1994-08-23 09:50:48 +00:00
|
|
|
caused by a BIOS extension ROM being configured in the same address space as the
|
2004-09-16 20:33:32 +00:00
|
|
|
Ethernet card's shared memory.
|
2000-03-02 14:54:02 +00:00
|
|
|
Either find the offending card and change its BIOS
|
2005-02-13 22:25:33 +00:00
|
|
|
ROM to be at an address that does not conflict, or change the
|
2002-01-17 08:42:31 +00:00
|
|
|
.Cd iomem
|
1994-08-23 09:50:48 +00:00
|
|
|
option in the kernel config file so that the card's shared memory is mapped at a
|
|
|
|
non-conflicting address.
|
|
|
|
.It "ed%d: Invalid irq configuration (%d) must be 2-5 for 3c503."
|
2002-01-17 08:42:31 +00:00
|
|
|
The IRQ number that was specified in the kernel config file is not valid for
|
2000-03-02 14:54:02 +00:00
|
|
|
the 3Com 3c503 card.
|
2002-01-17 08:42:31 +00:00
|
|
|
The 3c503 can only be assigned to IRQs 2 through 5.
|
1994-08-23 09:50:48 +00:00
|
|
|
.It "ed%d: Cannot find start of RAM."
|
|
|
|
.It "ed%d: Cannot find any RAM, start : %d, x = %d."
|
|
|
|
The probe of a Gateway card was unsuccessful in configuring the card's packet memory.
|
|
|
|
This likely indicates that the card was improperly recognized as a Gateway or that
|
|
|
|
the card is defective.
|
|
|
|
.It "ed: packets buffered, but transmitter idle."
|
2000-03-02 14:54:02 +00:00
|
|
|
Indicates a logic problem in the driver.
|
|
|
|
Should never happen.
|
1994-08-23 09:50:48 +00:00
|
|
|
.It "ed%d: device timeout"
|
2005-02-13 22:25:33 +00:00
|
|
|
Indicates that an expected transmitter interrupt did not occur.
|
2000-03-02 14:54:02 +00:00
|
|
|
Usually caused by an
|
1994-08-23 09:50:48 +00:00
|
|
|
interrupt conflict with another card on the ISA bus.
|
2001-09-03 10:24:43 +00:00
|
|
|
This condition could also be caused if the kernel is configured for a
|
|
|
|
different IRQ channel than the one the card is actually using.
|
|
|
|
If that is the case, you will have to either reconfigure the card
|
|
|
|
using a DOS utility or set the jumpers on the card appropriately.
|
1994-08-23 09:50:48 +00:00
|
|
|
.It "ed%d: NIC memory corrupt - invalid packet length %d."
|
|
|
|
Indicates that a packet was received with a packet length that was either larger than
|
2000-03-02 14:54:02 +00:00
|
|
|
the maximum size or smaller than the minimum size allowed by the IEEE 802.3 standard.
|
|
|
|
Usually
|
1994-08-23 09:50:48 +00:00
|
|
|
caused by a conflict with another card on the ISA bus, but in some cases may also
|
|
|
|
indicate faulty cabling.
|
|
|
|
.It "ed%d: remote transmit DMA failed to complete."
|
|
|
|
This indicates that a programmed I/O transfer to an NE1000 or NE2000 style card
|
2000-03-02 14:54:02 +00:00
|
|
|
has failed to properly complete.
|
|
|
|
Usually caused by the ISA bus speed being set
|
1994-08-23 09:50:48 +00:00
|
|
|
too fast.
|
|
|
|
.El
|
|
|
|
.Sh CAVEATS
|
2000-03-02 14:54:02 +00:00
|
|
|
Early revision DS8390 chips have problems.
|
|
|
|
They lock up whenever the receive
|
|
|
|
ring-buffer overflows.
|
|
|
|
They occasionally switch the byte order
|
1994-08-23 09:50:48 +00:00
|
|
|
of the length field in the packet ring header (several different causes
|
2002-01-17 08:42:31 +00:00
|
|
|
of this related to an off-by-one byte alignment) - resulting in
|
|
|
|
.Qq Li "NIC memory corrupt - invalid packet length"
|
|
|
|
messages.
|
2000-03-02 14:54:02 +00:00
|
|
|
The card is reset
|
1994-08-23 09:50:48 +00:00
|
|
|
whenever these problems occur, but otherwise there is no problem with
|
|
|
|
recovering from these conditions.
|
|
|
|
.Pp
|
|
|
|
The NIC memory access to 3Com and Novell cards is much slower than it is on
|
2005-02-13 23:45:54 +00:00
|
|
|
WD/SMC cards; it is less than 1MB/second on 8bit boards and less than 2MB/second
|
2000-03-02 14:54:02 +00:00
|
|
|
on the 16bit cards.
|
|
|
|
This can lead to ring-buffer overruns resulting in
|
1994-08-23 09:50:48 +00:00
|
|
|
dropped packets during heavy network traffic.
|
|
|
|
.Pp
|
2000-03-02 14:54:02 +00:00
|
|
|
16bit Compex cards identify themselves as being 8bit.
|
|
|
|
While these cards will
|
1998-06-08 06:12:02 +00:00
|
|
|
work in 8bit mode, much higher performance can be achieved by specifying
|
2002-01-17 08:42:31 +00:00
|
|
|
.Cd "flags 0x04"
|
2000-03-02 14:54:02 +00:00
|
|
|
(force 16bit mode) in your kernel config file.
|
|
|
|
In addition, you should also specify
|
2002-01-17 08:42:31 +00:00
|
|
|
.Cd "iosiz 16384"
|
|
|
|
to take advantage of the extra 8K of shared memory that 16bit mode provides.
|
1994-08-23 09:50:48 +00:00
|
|
|
.Sh SEE ALSO
|
2007-01-30 08:40:04 +00:00
|
|
|
.Xr altq 4 ,
|
1994-08-23 09:50:48 +00:00
|
|
|
.Xr arp 4 ,
|
2003-02-15 17:12:53 +00:00
|
|
|
.Xr miibus 4 ,
|
1996-12-26 16:16:37 +00:00
|
|
|
.Xr netintro 4 ,
|
2000-05-04 17:40:13 +00:00
|
|
|
.Xr ng_ether 4 ,
|
|
|
|
.Xr ifconfig 8
|
1994-08-23 09:50:48 +00:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
2000-11-20 18:41:33 +00:00
|
|
|
.Nm
|
1997-03-21 20:14:15 +00:00
|
|
|
device driver first appeared in
|
|
|
|
.Fx 1.0 .
|
1998-03-12 07:31:21 +00:00
|
|
|
.Sh AUTHORS
|
1994-08-23 09:50:48 +00:00
|
|
|
The
|
|
|
|
.Nm
|
1998-03-12 07:31:21 +00:00
|
|
|
device driver and this manual page were written by
|
|
|
|
.An David Greenman .
|
2005-01-21 08:36:40 +00:00
|
|
|
.Sh BUGS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver is a bit too aggressive about resetting the card whenever any bad
|
|
|
|
packets are received.
|
|
|
|
As a result, it may throw out some good packets which
|
|
|
|
have been received but not yet transferred from the card to main memory.
|
2005-07-15 02:01:38 +00:00
|
|
|
.Pp
|
|
|
|
The
|
2005-11-18 10:56:28 +00:00
|
|
|
.Nm
|
|
|
|
PC Card attachment supports the D-Link DMF650TX LAN/Modem card's Ethernet
|
2005-07-15 02:01:38 +00:00
|
|
|
port only at this time.
|