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