1 .\" $NetBSD: fxp.4,v 1.15 2005/10/16 19:23:35 wiz Exp $
3 .\" Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
8 .\" NASA Ames Research Center.
10 .\" Redistribution and use in source and binary forms, with or without
11 .\" modification, are permitted provided that the following conditions
13 .\" 1. Redistributions of source code must retain the above copyright
14 .\" notice, this list of conditions and the following disclaimer.
15 .\" 2. Redistributions in binary form must reproduce the above copyright
16 .\" notice, this list of conditions and the following disclaimer in the
17 .\" documentation and/or other materials provided with the distribution.
19 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 .\" POSSIBILITY OF SUCH DAMAGE.
36 .Nd Intel i8255x 10/100 Ethernet device driver
38 .Cd "fxp* at cardbus? function ?"
39 .Cd "fxp* at pci? dev ? function ?"
43 device driver supports Ethernet interfaces based on the Intel i82557,
44 i82558, i82559, and i82550 10/100 PCI Ethernet chips.
46 Certain versions of the i8255x support loading microcode which implements
47 a receive interrupt mitigation function, known as
49 Use of this option can improve performance in some situations by reducing
50 interrupt load on the host.
51 This option is available on the following chip versions:
55 i82558 step A4 (rev 4)
57 i82558 step B0 (rev 5)
59 i82559 step A0 (rev 8)
61 i82559S step A (rev 9)
65 i82550 step C (rev 13)
68 This option is enabled by setting the
73 Some chipset revisions can suffer from a receiver-side lockup bug which
74 can be mitigated by resetting the chip every sixteen seconds without
76 Since the probe for affected chipsets generates false positives
77 and the workaround can cause momentary loss of responsiveness, particularly
78 noticeable when playing audio, the workaround is not enabled by default.
79 The boot messages will indicate if any interface may have this issue.
80 The workaround is enabled by setting the
85 Cards supported by the
91 Intel EtherExpress Pro 10+
93 Intel EtherExpress Pro 100B
95 Intel EtherExpress Pro 100+
97 Intel InBusiness 10/100
102 Media selection is supported via MII.
107 for more information.
109 EtherExpress Pro 10+ boards may use a Seeq 80c24 AutoDUPLEX(tm)
111 Boards with these chips do not support media
112 selection, as the 80c24 has no programming interface, and no
113 way to read link status.
114 These boards claim a media of "manual"
115 since they self-configure based on the configuration of the link
116 partner (hub or switch).
119 .It "fxp0: WARNING: SCB timed out!"
120 The driver timed out waiting for the chip's command interface to
122 .It "fxp0: too many segments, aborting"
123 The driver encountered a packet that included too many DMA segments,
124 and was not able to allocate a new buffer to transmit the packet from.
125 The packet has been dropped.
126 .It "fxp0: too many segments, retrying"
127 The driver encountered a packet that included too many DMA segments,
128 and allocated a new buffer to transmit the packet from.
129 .It "fxp0: can't load mbuf chain, error = %d"
130 The driver was unable to load a transmit DMA map, and has reported the
132 .It "fxp0: device timeout"
133 The device failed to generate a transmit complete interrupt for the
134 last packet transmitted.
135 The device has been reset.
136 .It "fxp0: can't load rx buffer, error = %d"
137 The driver was unable to load the DMA map for a receive buffer, and
138 has reported the errno value.
139 This error is currently fatal, and will
141 .It "fxp0: fxp_mdi_read: timed out"
142 The MDIO failed to become ready during an MII read operation.
143 .It "fxp0: fxp_mdi_write: timed out"
144 The MDIO failed to become ready during an MII write operation.
145 .It "fxp0: May need receiver lock-up workaround"
146 The interface may need to be periodically reset to workaround a receiver