xref: /netbsd/share/man/man4/fxp.4 (revision 6e6eb0e8)
1.\"	$NetBSD: fxp.4,v 1.9 2001/09/19 00:52:13 wiz Exp $
2.\"
3.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
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.
9.\"
10.\" Redistribution and use in source and binary forms, with or without
11.\" modification, are permitted provided that the following conditions
12.\" are met:
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.
18.\" 3. All advertising materials mentioning features or use of this software
19.\"    must display the following acknowledgement:
20.\"        This product includes software developed by the NetBSD
21.\"        Foundation, Inc. and its contributors.
22.\" 4. Neither the name of The NetBSD Foundation nor the names of its
23.\"    contributors may be used to endorse or promote products derived
24.\"    from this software without specific prior written permission.
25.\"
26.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
27.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
28.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
30.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36.\" POSSIBILITY OF SUCH DAMAGE.
37.\"
38.Dd October 2, 1998
39.Dt FXP 4
40.Os
41.Sh NAME
42.Nm fxp
43.Nd Intel i82557, i82558, and i82559 Ethernet interfaces device driver
44.Sh SYNOPSIS
45.Cd "fxp* at cardbus? dev ? function ?"
46.Cd "fxp* at pci? dev ? function ?"
47.Sh DESCRIPTION
48The
49.Nm
50device driver supports Ethernet interfaces based on the Intel i82557
51and i82558 PCI Ethernet chips.  The i82557 uses an external media
52interface, whereas the i82558 includes a built-in Intel i82555 PHY.
53The i82559 is an enhanced i82558.
54.Sh HARDWARE
55Cards supported by the
56.Nm
57driver include:
58.Pp
59.Bl -item -compact
60.It
61Intel EtherExpress Pro 10+
62.It
63Intel EtherExpress Pro 100B
64.It
65Intel EtherExpress Pro 100+
66.It
67Intel PRO/100 S
68.El
69.Sh MEDIA SELECTION
70Media selection is supported via MII.  See
71.Xr ifmedia 4
72and
73.Xr mii 4
74for more information.
75.Pp
76EtherExpress Pro 10+ boards may use a Seeq 80c24 AutoDUPLEX(tm)
77media interface.  Boards with these chips do not support media
78selection, as the 80c24 has no programming interface, and no
79way to read link status.  These boards claim a media of "manual"
80since they self-configure based on the configuration of the link
81partner (hub or switch).
82.Sh DIAGNOSTICS
83.Bl -diag
84.It "fxp0: WARNING: SCB timed out!"
85The driver timed out waiting for the chip's command interface to
86become ready.
87.It "fxp0: too many segments, aborting"
88The driver encountered a packet that included too many DMA segments,
89and was not able to allocate a new buffer to transmit the packet from.
90The packet has been dropped.
91.It "fxp0: too many segments, retrying"
92The driver encountered a packet that included too many DMA segments,
93and allocated a new buffer to transmit the packet from.
94.It "fxp0: can't load mbuf chain, error = %d"
95The driver was unable to load a transmit DMA map, and has reported the
96errno value.
97.It "fxp0: device timeout"
98The device failed to generate a transmit complete interrupt for the
99last packet transmitted.  The device has been reset.
100.It "fxp0: can't load rx buffer, error = %d"
101The driver was unable to load the DMA map for a receive buffer, and
102has reported the errno value.  This error is currently fatal, and will
103panic the system.
104.It "fxp0: fxp_mdi_read: timed out"
105The MDIO failed to become ready during an MII read operation.
106.It "fxp0: fxp_mdi_write: timed out"
107The MDIO failed to become ready during an MII write operation.
108.El
109.Sh SEE ALSO
110.Xr cardbus 4 ,
111.Xr ifmedia 4 ,
112.Xr intro 4 ,
113.Xr mii 4 ,
114.Xr pci 4 ,
115.Xr ifconfig 8
116