xref: /freebsd/share/man/man4/le.4 (revision 2518ad74c7fbc009abb7e6ecb6d82a469904cdc8)
135591247SMarius Strobl.\"	$NetBSD: le.4,v 1.22 2004/10/04 19:12:52 rumble Exp $
235591247SMarius Strobl.\"
335591247SMarius Strobl.\"-
435591247SMarius Strobl.\" Copyright (c) 1992, 1993
535591247SMarius Strobl.\"	The Regents of the University of California.  All rights reserved.
635591247SMarius Strobl.\"
735591247SMarius Strobl.\" This software was developed by the Computer Systems Engineering group
835591247SMarius Strobl.\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
935591247SMarius Strobl.\" contributed to Berkeley.
1035591247SMarius Strobl.\"
1135591247SMarius Strobl.\" Redistribution and use in source and binary forms, with or without
1235591247SMarius Strobl.\" modification, are permitted provided that the following conditions
1335591247SMarius Strobl.\" are met:
1435591247SMarius Strobl.\" 1. Redistributions of source code must retain the above copyright
1535591247SMarius Strobl.\"    notice, this list of conditions and the following disclaimer.
1635591247SMarius Strobl.\" 2. Redistributions in binary form must reproduce the above copyright
1735591247SMarius Strobl.\"    notice, this list of conditions and the following disclaimer in the
1835591247SMarius Strobl.\"    documentation and/or other materials provided with the distribution.
1935591247SMarius Strobl.\" 3. Neither the name of the University nor the names of its contributors
2035591247SMarius Strobl.\"    may be used to endorse or promote products derived from this software
2135591247SMarius Strobl.\"    without specific prior written permission.
2235591247SMarius Strobl.\"
2335591247SMarius Strobl.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2435591247SMarius Strobl.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2535591247SMarius Strobl.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2635591247SMarius Strobl.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2735591247SMarius Strobl.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2835591247SMarius Strobl.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2935591247SMarius Strobl.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3035591247SMarius Strobl.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3135591247SMarius Strobl.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3235591247SMarius Strobl.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3335591247SMarius Strobl.\" SUCH DAMAGE.
3435591247SMarius Strobl.\"
3535591247SMarius Strobl.\"	from: Header: le.4,v 1.2 92/10/13 05:31:33 leres Exp
3635591247SMarius Strobl.\"	from: @(#)le.4	8.1 (Berkeley) 6/9/93
3735591247SMarius Strobl.\" $FreeBSD$
3835591247SMarius Strobl.\"
392518ad74SMarius Strobl.Dd January 20, 2007
4035591247SMarius Strobl.Dt LE 4
4135591247SMarius Strobl.Os
4235591247SMarius Strobl.Sh NAME
4335591247SMarius Strobl.Nm le
442518ad74SMarius Strobl.Nd "AMD Am7900 LANCE and Am79C9xx ILACC/PCnet Ethernet interface driver"
4535591247SMarius Strobl.Sh SYNOPSIS
4635591247SMarius StroblTo compile this driver into the kernel,
4735591247SMarius Stroblplace the following line in your
4835591247SMarius Stroblkernel configuration file:
4935591247SMarius Strobl.Bd -ragged -offset indent
5035591247SMarius Strobl.Cd "device le"
5135591247SMarius Strobl.Ed
5235591247SMarius Strobl.Pp
5335591247SMarius StroblAlternatively, to load the driver as a
5435591247SMarius Stroblmodule at boot time, place the following line in
5535591247SMarius Strobl.Xr loader.conf 5 :
5635591247SMarius Strobl.Bd -literal -offset indent
5735591247SMarius Stroblif_le_load="YES"
5835591247SMarius Strobl.Ed
590ab9d31cSMarius Strobl.Pp
602518ad74SMarius StroblFor C-Bus non-PnP adapters, the port address and the IRQ number have to be
610ab9d31cSMarius Stroblspecified in
620ab9d31cSMarius Strobl.Pa /boot/device.hints :
630ab9d31cSMarius Strobl.Cd hint.le.0.at="isa"
640ab9d31cSMarius Strobl.Cd hint.le.0.port="0x03d0"
650ab9d31cSMarius Strobl.Cd hint.le.0.irq="6"
660ab9d31cSMarius Strobl.Pp
672518ad74SMarius StroblFor ISA non-PnP adapters, the port address as well as the IRQ and the DRQ
680ab9d31cSMarius Stroblnumbers have to be specified in
690ab9d31cSMarius Strobl.Pa /boot/device.hints :
700ab9d31cSMarius Strobl.Cd hint.le.0.at="isa"
710ab9d31cSMarius Strobl.Cd hint.le.0.port="0x280"
720ab9d31cSMarius Strobl.Cd hint.le.0.irq="10"
730ab9d31cSMarius Strobl.Cd hint.le.0.drq="0"
7435591247SMarius Strobl.Sh DESCRIPTION
7535591247SMarius StroblThe
7635591247SMarius Strobl.Nm
7735591247SMarius Strobldriver provides support for Ethernet adapters based on the
782518ad74SMarius Strobl.Tn AMD Am7990
792518ad74SMarius Strobland
802518ad74SMarius Strobl.Tn Am79C90
812518ad74SMarius Strobl.Pq CMOS, pin-compatible
8235591247SMarius StroblLocal Area Network Controller for Ethernet
8335591247SMarius Strobl.Pq Tn LANCE
840ab9d31cSMarius Stroblchips.
8535591247SMarius Strobl.Pp
8635591247SMarius StroblThe
8735591247SMarius Strobl.Nm
880ab9d31cSMarius Strobldriver also supports Ethernet adapters based on the
892518ad74SMarius Strobl.Tn AMD Am79C900
902518ad74SMarius StroblIntegrated Local Area Communications Controller
912518ad74SMarius Strobl.Pq Tn ILACC
922518ad74SMarius Stroblas well as the
932518ad74SMarius Strobl.Tn Am79C9xx PCnet
9435591247SMarius Stroblfamily of chips, which are single-chip implementations of a
9535591247SMarius Strobl.Tn LANCE
96e9646f64SMarius Stroblchip and a DMA engine.
97e9646f64SMarius StroblThis includes a superset of the
9835591247SMarius Strobl.Tn PCI
990ab9d31cSMarius Stroblbus Ethernet chips supported by the
10035591247SMarius Strobl.Xr pcn 4
10135591247SMarius Strobldriver.
10235591247SMarius StroblThe
10335591247SMarius Strobl.Nm
104e9646f64SMarius Strobldriver treats all of these
105e9646f64SMarius Strobl.Tn PCI
1060ab9d31cSMarius Stroblbus Ethernet chips as an
107e9646f64SMarius Strobl.Tn AMD Am79C970 PCnet-PCI
108e9646f64SMarius Strobland does not support the additional features like the MII bus and burst mode of
109e9646f64SMarius Strobl.Tn AMD Am79C971 PCnet-FAST
1100ab9d31cSMarius Strobland greater chips.
111e9646f64SMarius StroblThus the
11235591247SMarius Strobl.Xr pcn 4
113e9646f64SMarius Strobldriver should be preferred for the latter.
11435591247SMarius Strobl.Pp
1150ab9d31cSMarius StroblGenerally, the
1160ab9d31cSMarius Strobl.Nm
1170ab9d31cSMarius Strobldriver aims at supporting as many different chips on as many different
1180ab9d31cSMarius Stroblplatforms as possible,
1190ab9d31cSMarius Stroblpartially at the cost of the best performance with some of these.
1200ab9d31cSMarius Strobl.Pp
12135591247SMarius StroblThe
12235591247SMarius Strobl.Nm
12335591247SMarius Strobldriver supports reception and transmission of extended frames for
12435591247SMarius Strobl.Xr vlan 4 .
12535591247SMarius StroblSelective reception of multicast Ethernet frames is provided by a 64-bit mask;
12635591247SMarius Stroblmulticast destination addresses are hashed to a bit entry using the Ethernet
12735591247SMarius StroblCRC function.
12835591247SMarius Strobl.Sh HARDWARE
1290ab9d31cSMarius Strobl.Ss C-Bus and ISA
1300ab9d31cSMarius StroblThe
1310ab9d31cSMarius Strobl.Nm
1320ab9d31cSMarius Strobldriver supports
1330ab9d31cSMarius Strobl.Tn C-Bus
1340ab9d31cSMarius Strobland
1350ab9d31cSMarius Strobl.Tn ISA
1360ab9d31cSMarius Stroblbus Ethernet adapters which are based on the following chips:
1370ab9d31cSMarius Strobl.Pp
1380ab9d31cSMarius Strobl.Bl -bullet -compact
1390ab9d31cSMarius Strobl.It
1400ab9d31cSMarius Strobl.Tn AMD Am7990 and Am79C90 LANCE
1410ab9d31cSMarius Strobl.It
1420ab9d31cSMarius Strobl.Tn AMD Am79C960 PCnet-ISA
1430ab9d31cSMarius Strobl.It
1440ab9d31cSMarius Strobl.Tn AMD Am79C961 PCnet-ISA+
1450ab9d31cSMarius Strobl.It
1460ab9d31cSMarius Strobl.Tn AMD Am79C961A PCnet-ISA II
1470ab9d31cSMarius Strobl.El
1480ab9d31cSMarius Strobl.Pp
1490ab9d31cSMarius StroblThis includes support for the following Ethernet adapters:
1500ab9d31cSMarius Strobl.Pp
1510ab9d31cSMarius StroblC-Bus non-PnP:
1520ab9d31cSMarius Strobl.Pp
1530ab9d31cSMarius Strobl.Bl -bullet -compact
1540ab9d31cSMarius Strobl.It
1550ab9d31cSMarius Strobl.Tn Contec C-NET(98)S
1560ab9d31cSMarius Strobl.El
1570ab9d31cSMarius Strobl.Pp
1580ab9d31cSMarius StroblISA non-PnP:
1590ab9d31cSMarius Strobl.Pp
1600ab9d31cSMarius Strobl.Bl -bullet -compact
1610ab9d31cSMarius Strobl.It
1620ab9d31cSMarius Strobl.Tn BICC Isolan
16335591247SMarius Strobl.\" .It
16435591247SMarius Strobl.\" .Tn Digital DEPCA
1650ab9d31cSMarius Strobl.It
1660ab9d31cSMarius Strobl.Tn Novell NE2100
1670ab9d31cSMarius Strobl.El
1680ab9d31cSMarius Strobl.Pp
1690ab9d31cSMarius StroblISA PnP:
1700ab9d31cSMarius Strobl.Pp
1710ab9d31cSMarius Strobl.Bl -bullet -compact
1720ab9d31cSMarius Strobl.It
1730ab9d31cSMarius Strobl.Tn AMD AM1500T/AM2100
1740ab9d31cSMarius Strobl.It
1750ab9d31cSMarius Strobl.Tn AMD PCnet-32
1760ab9d31cSMarius Strobl.It
1770ab9d31cSMarius Strobl.Tn AMD PCnet-ISA
1780ab9d31cSMarius Strobl.It
179e71d18f4SMarius Strobl.Tn Allied Telesyn AT-1500
180e71d18f4SMarius Strobl.It
1810ab9d31cSMarius Strobl.Tn Boca LANCard Combo
1820ab9d31cSMarius Strobl.It
1830ab9d31cSMarius Strobl.Tn Cabletron E2100 Series DNI
1840ab9d31cSMarius Strobl.It
1850ab9d31cSMarius Strobl.Tn Cabletron E2200 Single Chip
1860ab9d31cSMarius Strobl.It
1870ab9d31cSMarius Strobl.Tn Melco Inc. LGY-IV
1880ab9d31cSMarius Strobl.It
1890ab9d31cSMarius Strobl.Tn Novell NE2100
1900ab9d31cSMarius Strobl.It
1910ab9d31cSMarius Strobl.Tn Racal InterLan EtherBlaster
1920ab9d31cSMarius Strobl.El
1930ab9d31cSMarius Strobl.Pp
1940ab9d31cSMarius StroblThe
1950ab9d31cSMarius Strobl.Nm
1960ab9d31cSMarius Strobldriver does not support the selection of media types and options via
1970ab9d31cSMarius Strobl.Xr ifconfig 8
1980ab9d31cSMarius Stroblwith
1990ab9d31cSMarius Strobl.Tn C-Bus
2000ab9d31cSMarius Strobland
2010ab9d31cSMarius Strobl.Tn ISA
2020ab9d31cSMarius Stroblbus Ethernet adapters.
20335591247SMarius Strobl.\" .Ss EISA
20435591247SMarius Strobl.\" The
20535591247SMarius Strobl.\" .Tn EISA
20635591247SMarius Strobl.\" bus Ethernet cards supported by the
20735591247SMarius Strobl.\" .Nm
20835591247SMarius Strobl.\" driver are:
20935591247SMarius Strobl.\" .Pp
21035591247SMarius Strobl.\" .Bl -bullet -compact
21135591247SMarius Strobl.\" .It
21235591247SMarius Strobl.\" .Tn DEC DE422
21335591247SMarius Strobl.\" .El
21435591247SMarius Strobl.\" .Ss MCA
21535591247SMarius Strobl.\" The
21635591247SMarius Strobl.\" .Tn MCA
21735591247SMarius Strobl.\" bus Ethernet cards supported by the
21835591247SMarius Strobl.\" .Nm
21935591247SMarius Strobl.\" driver are:
22035591247SMarius Strobl.\" .Pp
22135591247SMarius Strobl.\" .Bl -bullet -compact
22235591247SMarius Strobl.\" .It
22335591247SMarius Strobl.\" .Tn SKNET Personal MC2
22435591247SMarius Strobl.\" .It
22535591247SMarius Strobl.\" .Tn SKNET MC2+
22635591247SMarius Strobl.\" .El
22735591247SMarius Strobl.Ss PCI
22835591247SMarius StroblThe
22935591247SMarius Strobl.Tn PCI
2300ab9d31cSMarius Stroblbus Ethernet chips supported by the
23135591247SMarius Strobl.Nm
23235591247SMarius Strobldriver are:
23335591247SMarius Strobl.Pp
23435591247SMarius Strobl.Bl -bullet -compact
23535591247SMarius Strobl.It
23635591247SMarius Strobl.Tn AMD Am53C974/Am79C970/Am79C974 PCnet-PCI
23735591247SMarius Strobl.It
23835591247SMarius Strobl.Tn AMD Am79C970A PCnet-PCI II
23935591247SMarius Strobl.It
24035591247SMarius Strobl.Tn AMD Am79C971 PCnet-FAST
24135591247SMarius Strobl.It
24235591247SMarius Strobl.Tn AMD Am79C972 PCnet-FAST+
24335591247SMarius Strobl.It
24435591247SMarius Strobl.Tn AMD Am79C973/Am79C975 PCnet-FAST III
24535591247SMarius Strobl.It
24635591247SMarius Strobl.Tn AMD Am79C976 PCnet-PRO
24735591247SMarius Strobl.It
24835591247SMarius Strobl.Tn AMD Am79C978 PCnet-Home
24935591247SMarius Strobl.El
25035591247SMarius Strobl.Pp
2512518ad74SMarius StroblThis includes support for the following Ethernet adapters:
2522518ad74SMarius Strobl.Pp
2532518ad74SMarius Strobl.Bl -bullet -compact
2542518ad74SMarius Strobl.It
2552518ad74SMarius Strobl.Tn AcerLAN NIC P20
2562518ad74SMarius Strobl.It
2572518ad74SMarius Strobl.Tn Allied Telesyn AT-2450 and AT-2700 series
2582518ad74SMarius Strobl.It
2592518ad74SMarius Strobl.Tn VMware emulated AMD Am79C970A PCnet-PCI II interface
2602518ad74SMarius Strobl.El
2612518ad74SMarius Strobl.Pp
26235591247SMarius StroblThe
26335591247SMarius Strobl.Nm
2642518ad74SMarius Strobldriver supports the selection of the following media types via
2652518ad74SMarius Strobl.Xr ifconfig 8
2662518ad74SMarius Stroblwith
2672518ad74SMarius Strobl.Tn PCI
2682518ad74SMarius Stroblbus Ethernet adapters:
269ae91966bSRuslan Ermilov.Bl -tag -width ".Cm 10base5/AUI"
270ae91966bSRuslan Ermilov.It Cm autoselect
27135591247SMarius StroblEnable autoselection of the media type.
272ae91966bSRuslan Ermilov.It Cm 10baseT/UTP
27335591247SMarius StroblSelect UTP media.
274ae91966bSRuslan Ermilov.It Cm 10base5/AUI
27535591247SMarius StroblSelect AUI/BNC media.
27635591247SMarius Strobl.El
27735591247SMarius Strobl.Pp
27835591247SMarius StroblThe following media option is supported with these media types:
279ae91966bSRuslan Ermilov.Bl -tag -width ".Cm full-duplex"
280ae91966bSRuslan Ermilov.It Cm full-duplex
28135591247SMarius StroblSelect full duplex operation.
28235591247SMarius Strobl.El
28335591247SMarius Strobl.Pp
28435591247SMarius StroblNote that unlike the
28535591247SMarius Strobl.Xr pcn 4
28635591247SMarius Strobldriver, the
28735591247SMarius Strobl.Nm
28835591247SMarius Strobldriver does not support selecting 100Mbps (Fast Ethernet) media types.
28935591247SMarius Strobl.Ss sparc64
29035591247SMarius StroblThe
29135591247SMarius Strobl.Nm
29235591247SMarius Strobldriver supports the on-board
29335591247SMarius Strobl.Tn LANCE
29435591247SMarius Stroblinterfaces found in
29535591247SMarius Strobl.Tn Sun Ultra 1
29635591247SMarius Stroblmachines.
2972518ad74SMarius StroblThe
2982518ad74SMarius Strobl.Nm
2992518ad74SMarius Strobldriver allows the selection of the following media types via
3002518ad74SMarius Strobl.Xr ifconfig 8
3012518ad74SMarius Stroblwith these on-board interfaces:
302ae91966bSRuslan Ermilov.Bl -tag -width ".Cm 10base5/AUI"
303ae91966bSRuslan Ermilov.It Cm autoselect
30435591247SMarius StroblEnable autoselection of the media type.
305ae91966bSRuslan Ermilov.It Cm 10baseT/UTP
30635591247SMarius StroblSelect UTP media.
307ae91966bSRuslan Ermilov.It Cm 10base5/AUI
30835591247SMarius StroblSelect AUI media.
30935591247SMarius Strobl.El
31035591247SMarius Strobl.Pp
31135591247SMarius StroblWhen using autoselection, a default media type is selected for use by
31235591247SMarius Stroblexamining all ports for carrier.
31335591247SMarius StroblThe first media type with which a carrier is detected will be selected.
31435591247SMarius StroblAdditionally, if carrier is dropped on a port, the driver will switch
31535591247SMarius Stroblbetween the possible ports until one with carrier is found.
3162518ad74SMarius Strobl.Pp
3172518ad74SMarius StroblThe
3182518ad74SMarius Strobl.Nm
3192518ad74SMarius Strobldriver also supports the following
3202518ad74SMarius Strobl.Tn Sun SBus
3212518ad74SMarius StroblEthernet add-on adapters:
3222518ad74SMarius Strobl.Pp
3232518ad74SMarius Strobl.Bl -bullet -compact
3242518ad74SMarius Strobl.It
3252518ad74SMarius Strobl.Tn SCSI HBA and Buffered Ethernet
3262518ad74SMarius Strobl.Pq SBE/S, P/N 501-1869
3272518ad74SMarius Strobl.It
3282518ad74SMarius Strobl.Tn Fast SCSI and Buffered Ethernet
3292518ad74SMarius Strobl.Pq FSBE/S, P/N 501-2015 and 501-2981
3302518ad74SMarius Strobl.El
3312518ad74SMarius Strobl.Pp
3322518ad74SMarius StroblThe
3332518ad74SMarius Strobl.Nm
3342518ad74SMarius Strobldriver does not support the selection of media types and options via
3352518ad74SMarius Strobl.Xr ifconfig 8
3362518ad74SMarius Stroblwith
3372518ad74SMarius Strobl.Tn SBus
3382518ad74SMarius StroblEthernet add-on adapters.
33935591247SMarius Strobl.Pp
34035591247SMarius StroblFor further information on configuring media types and options, see
34135591247SMarius Strobl.Xr ifconfig 8 .
34235591247SMarius Strobl.Sh DIAGNOSTICS
34335591247SMarius Strobl.Bl -diag
34435591247SMarius Strobl.It "le%d: overflow"
34535591247SMarius StroblMore packets came in from the Ethernet than there was space in the
34635591247SMarius Strobl.Tn LANCE
34735591247SMarius Stroblreceive buffers.
34835591247SMarius StroblPackets were missed.
34935591247SMarius Strobl.It "le%d: receive buffer error"
35035591247SMarius StroblThe
35135591247SMarius Strobl.Tn LANCE
35235591247SMarius Stroblran out of buffer space, packet dropped.
35335591247SMarius Strobl.It "le%d: lost carrier"
35435591247SMarius StroblThe Ethernet carrier disappeared during an attempt to transmit.
35535591247SMarius StroblThe
35635591247SMarius Strobl.Tn LANCE
35735591247SMarius Stroblwill finish transmitting the current packet,
35835591247SMarius Stroblbut will not automatically retry transmission if there is a collision.
35935591247SMarius Strobl.It "le%d: excessive collisions, tdr %d"
36035591247SMarius StroblThe Ethernet was extremely busy or jammed,
36135591247SMarius Strobloutbound packets were dropped after 16 attempts to retransmit.
36235591247SMarius Strobl.Pp
36335591247SMarius StroblTDR
36435591247SMarius Stroblis the abbreviation of
36535591247SMarius Strobl.Qq Time Domain Reflectometry .
36635591247SMarius StroblThe optionally reported TDR value is an internal counter of the interval
36735591247SMarius Stroblbetween the start of a transmission and the occurrence of a collision.
36835591247SMarius StroblThis value can be used to determine the distance from the Ethernet tap to
36935591247SMarius Stroblthe point on the Ethernet cable that is shorted or open (unterminated).
37035591247SMarius Strobl.It "le%d: dropping chained buffer"
37135591247SMarius StroblA packet did not fit into a single receive buffer and was dropped.
37235591247SMarius StroblSince the
37335591247SMarius Strobl.Nm
37435591247SMarius Strobldriver allocates buffers large enough to receive maximum sized Ethernet
37535591247SMarius Stroblpackets, this means some other station on the LAN transmitted a packet
37635591247SMarius Strobllarger than allowed by the Ethernet standard.
37735591247SMarius Strobl.It "le%d: transmit buffer error"
37835591247SMarius StroblThe
37935591247SMarius Strobl.Tn LANCE
38035591247SMarius Stroblran out of buffer space before finishing the transmission of a packet.
38135591247SMarius StroblIf this error occurs, the driver software has a bug.
38235591247SMarius Strobl.It "le%d: underflow"
38335591247SMarius StroblThe
38435591247SMarius Strobl.Tn LANCE
38535591247SMarius Stroblran out of buffer space before finishing the transmission of a packet.
38635591247SMarius StroblIf this error occurs, the driver software has a bug.
38735591247SMarius Strobl.It "le%d: controller failed to initialize"
38835591247SMarius StroblDriver failed to start the
38935591247SMarius Strobl.Tn LANCE .
39035591247SMarius StroblThis is potentially a hardware failure.
39135591247SMarius Strobl.It "le%d: memory error"
39235591247SMarius StroblRAM failed to respond within the timeout when the
39335591247SMarius Strobl.Tn LANCE
39435591247SMarius Stroblwanted to read or write it.
39535591247SMarius StroblThis is potentially a hardware failure.
39635591247SMarius Strobl.It "le%d: receiver disabled"
39735591247SMarius StroblThe receiver of the
39835591247SMarius Strobl.Tn LANCE
39935591247SMarius Stroblwas turned off due to an error.
40035591247SMarius Strobl.It "le%d: transmitter disabled"
40135591247SMarius StroblThe transmitter of the
40235591247SMarius Strobl.Tn LANCE
40335591247SMarius Stroblwas turned off due to an error.
40435591247SMarius Strobl.El
40535591247SMarius Strobl.Sh SEE ALSO
40635591247SMarius Strobl.Xr arp 4 ,
40735591247SMarius Strobl.Xr intro 4 ,
40835591247SMarius Strobl.Xr netintro 4 ,
40935591247SMarius Strobl.Xr pcn 4 ,
41035591247SMarius Strobl.Xr vlan 4 ,
41135591247SMarius Strobl.Xr ifconfig 8
41235591247SMarius Strobl.Sh HISTORY
41335591247SMarius StroblThe
41435591247SMarius Strobl.Nm
41535591247SMarius Strobldriver was ported from
41635591247SMarius Strobl.Nx
41735591247SMarius Strobland first appeared in
41835591247SMarius Strobl.Fx 6.1 .
41935591247SMarius StroblThe
42035591247SMarius Strobl.Nx
42135591247SMarius Stroblversion in turn was derived from the
42235591247SMarius Strobl.Nm
42335591247SMarius Strobldriver which first appeared in
42435591247SMarius Strobl.Bx 4.4 .
42535591247SMarius Strobl.Sh AUTHORS
42635591247SMarius StroblThe
42735591247SMarius Strobl.Nm
42835591247SMarius Strobldriver was ported by
42935591247SMarius Strobl.An "Marius Strobl" Aq marius@FreeBSD.org .
43035591247SMarius Strobl.\" .Sh BUGS
43135591247SMarius Strobl.\" The Am7990 Revision C chips have a bug which causes garbage to be inserted
43235591247SMarius Strobl.\" in front of the received packet occasionally.
43335591247SMarius Strobl.\" The work-around is to ignore packets with an invalid destination address
43435591247SMarius Strobl.\" (garbage will usually not match), by double-checking the destination
43535591247SMarius Strobl.\" address of every packet in the driver.
43635591247SMarius Strobl.\" This work-around can be enabled with the
43735591247SMarius Strobl.\" .Dv LANCE_REVC_BUG
43835591247SMarius Strobl.\" kernel option.
43935591247SMarius Strobl.\" .Pp
44035591247SMarius Strobl.\" When
44135591247SMarius Strobl.\" .Dv LANCE_REVC_BUG
44235591247SMarius Strobl.\" is enabled, the
44335591247SMarius Strobl.\" .Nm
44435591247SMarius Strobl.\" driver executes one or two calls to an inline Ethernet address comparison
44535591247SMarius Strobl.\" function for every received packet.
44635591247SMarius Strobl.\" On the
44735591247SMarius Strobl.\" .Tn MC68000
44835591247SMarius Strobl.\" it is exactly eight instructions of 16 bits each.
44935591247SMarius Strobl.\" There is one comparison for each unicast packet, and two comparisons for
45035591247SMarius Strobl.\" each broadcast packet.
45135591247SMarius Strobl.\" .Pp
45235591247SMarius Strobl.\" In summary, the cost of the LANCE_REVC_BUG option is:
45335591247SMarius Strobl.\" .Bl -enum -compact
45435591247SMarius Strobl.\" .It
45535591247SMarius Strobl.\" loss of multicast support, and
45635591247SMarius Strobl.\" .It
45735591247SMarius Strobl.\" eight extra
45835591247SMarius Strobl.\" .Tn CPU
45935591247SMarius Strobl.\" instructions per received packet, sometimes sixteen, depending on both the
46035591247SMarius Strobl.\" processor, and the type of packet.
46135591247SMarius Strobl.\" .El
46235591247SMarius Strobl.\" .Pp
46335591247SMarius Strobl.\" All sun3 systems are presumed to have this bad revision of the Am7990,
46435591247SMarius Strobl.\" until proven otherwise.
46535591247SMarius Strobl.\" Alas, the only way to prove what revision of the chip is in a particular
46635591247SMarius Strobl.\" system is inspection of the date code on the chip package,
46735591247SMarius Strobl.\" to compare against a list of what chip revisions were fabricated between
46835591247SMarius Strobl.\" which dates.
46935591247SMarius Strobl.\" .Pp
47035591247SMarius Strobl.\" Alas, the Am7990 chip is so old that
47135591247SMarius Strobl.\" .Tn AMD
47235591247SMarius Strobl.\" has
47335591247SMarius Strobl.\" .Qq de-archived
47435591247SMarius Strobl.\" the production information about it; pending a search elsewhere, we do not
47535591247SMarius Strobl.\" know how to identify the revision C chip from the date codes.
476