xref: /netbsd/share/man/man4/fxp.4 (revision 350b00b9)
1.\"	$NetBSD: fxp.4,v 1.8 2001/09/11 22:52:52 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.Pp
55.Sh HARDWARE
56Cards supported by the
57.Nm
58driver include:
59.Pp
60.Bl -item -compact
61.It
62Intel EtherExpress Pro 10+
63.It
64Intel EtherExpress Pro 100B
65.It
66Intel EtherExpress Pro 100+
67.It
68Intel PRO/100 S
69.El
70.Sh MEDIA SELECTION
71Media selection is supported via MII.  See
72.Xr ifmedia 4
73and
74.Xr mii 4
75for more information.
76.Pp
77EtherExpress Pro 10+ boards may use a Seeq 80c24 AutoDUPLEX(tm)
78media interface.  Boards with these chips do not support media
79selection, as the 80c24 has no programming interface, and no
80way to read link status.  These boards claim a media of "manual"
81since they self-configure based on the configuration of the link
82partner (hub or switch).
83.Sh DIAGNOSTICS
84.Bl -diag
85.It "fxp0: WARNING: SCB timed out!"
86The driver timed out waiting for the chip's command interface to
87become ready.
88.It "fxp0: too many segments, aborting"
89The driver encountered a packet that included too many DMA segments,
90and was not able to allocate a new buffer to transmit the packet from.
91The packet has been dropped.
92.It "fxp0: too many segments, retrying"
93The driver encountered a packet that included too many DMA segments,
94and allocated a new buffer to transmit the packet from.
95.It "fxp0: can't load mbuf chain, error = %d"
96The driver was unable to load a transmit DMA map, and has reported the
97errno value.
98.It "fxp0: device timeout"
99The device failed to generate a transmit complete interrupt for the
100last packet transmitted.  The device has been reset.
101.It "fxp0: can't load rx buffer, error = %d"
102The driver was unable to load the DMA map for a receive buffer, and
103has reported the errno value.  This error is currently fatal, and will
104panic the system.
105.It "fxp0: fxp_mdi_read: timed out"
106The MDIO failed to become ready during an MII read operation.
107.It "fxp0: fxp_mdi_write: timed out"
108The MDIO failed to become ready during an MII write operation.
109.El
110.Sh SEE ALSO
111.Xr cardbus 4 ,
112.Xr ifmedia 4 ,
113.Xr intro 4 ,
114.Xr mii 4 ,
115.Xr pci 4 ,
116.Xr ifconfig 8
117