xref: /freebsd/share/man/man4/lge.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1c678bc4fSBill Paul.\" Copyright (c) 2001 Wind River Systems
2c678bc4fSBill Paul.\" Copyright (c) 1997, 1998, 1999, 2000, 2001
3c678bc4fSBill Paul.\"	Bill Paul <william.paul@windriver.com>. All rights reserved.
4c678bc4fSBill Paul.\"
5c678bc4fSBill Paul.\" Redistribution and use in source and binary forms, with or without
6c678bc4fSBill Paul.\" modification, are permitted provided that the following conditions
7c678bc4fSBill Paul.\" are met:
8c678bc4fSBill Paul.\" 1. Redistributions of source code must retain the above copyright
9c678bc4fSBill Paul.\"    notice, this list of conditions and the following disclaimer.
10c678bc4fSBill Paul.\" 2. Redistributions in binary form must reproduce the above copyright
11c678bc4fSBill Paul.\"    notice, this list of conditions and the following disclaimer in the
12c678bc4fSBill Paul.\"    documentation and/or other materials provided with the distribution.
13c678bc4fSBill Paul.\" 3. All advertising materials mentioning features or use of this software
14c678bc4fSBill Paul.\"    must display the following acknowledgement:
15c678bc4fSBill Paul.\"	This product includes software developed by Bill Paul.
16c678bc4fSBill Paul.\" 4. Neither the name of the author nor the names of any co-contributors
17c678bc4fSBill Paul.\"    may be used to endorse or promote products derived from this software
18c678bc4fSBill Paul.\"   without specific prior written permission.
19c678bc4fSBill Paul.\"
20c678bc4fSBill Paul.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
21c678bc4fSBill Paul.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22c678bc4fSBill Paul.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23c678bc4fSBill Paul.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
24c678bc4fSBill Paul.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25c678bc4fSBill Paul.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26c678bc4fSBill Paul.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27c678bc4fSBill Paul.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28c678bc4fSBill Paul.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29c678bc4fSBill Paul.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30c678bc4fSBill Paul.\" THE POSSIBILITY OF SUCH DAMAGE.
31c678bc4fSBill Paul.\"
3286e3186eSTom Rhodes.Dd July 16, 2005
33c678bc4fSBill Paul.Dt LGE 4
34c678bc4fSBill Paul.Os
35c678bc4fSBill Paul.Sh NAME
36c678bc4fSBill Paul.Nm lge
37a0f1044fSChristian Brueffer.Nd "Level 1 LXT1001 NetCellerator PCI Gigabit Ethernet adapter driver"
38c678bc4fSBill Paul.Sh SYNOPSIS
3916d78bb8STom RhodesTo compile this driver into the kernel,
4016d78bb8STom Rhodesplace the following lines in your
4190296834STom Rhodeskernel configuration file:
4286e3186eSTom Rhodes.Bd -ragged -offset indent
43c678bc4fSBill Paul.Cd "device miibus"
44c678bc4fSBill Paul.Cd "device lge"
4586e3186eSTom Rhodes.Ed
4686e3186eSTom Rhodes.Pp
4716d78bb8STom RhodesAlternatively, to load the driver as a
4816d78bb8STom Rhodesmodule at boot time, place the following line in
4986e3186eSTom Rhodes.Xr loader.conf 5 :
5086e3186eSTom Rhodes.Bd -literal -offset indent
5186e3186eSTom Rhodesif_lge_load="YES"
5286e3186eSTom Rhodes.Ed
53c678bc4fSBill Paul.Sh DESCRIPTION
54c678bc4fSBill PaulThe
55c678bc4fSBill Paul.Nm
56c678bc4fSBill Pauldriver provides support for various NICs based on the Level 1 LXT1001
57a0f1044fSChristian BruefferNetCellerator Gigabit Ethernet controller chip.
58c678bc4fSBill Paul.Pp
5987f3d8beSChristian BruefferThe LXT1001 supports fiber PHYs and also a GMII port for use with
6087f3d8beSChristian Brueffer10/100/1000 copper PHYs, however there are currently no NICs on the
6187f3d8beSChristian Brueffermarket that use this feature.
6287f3d8beSChristian Brueffer.Pp
63c678bc4fSBill PaulThe LXT1001 supports TCP/IP checksum offload for receive and
64c678bc4fSBill PaulVLAN-based filtering as well as a 64-bit multicast hash filter.
65c678bc4fSBill PaulIt also supports jumbo frames, which can be configured
66c678bc4fSBill Paulvia the interface MTU setting.
67c678bc4fSBill PaulSelecting an MTU larger than 1500 bytes with the
68c678bc4fSBill Paul.Xr ifconfig 8
69c678bc4fSBill Paulutility configures the adapter to receive and transmit jumbo frames.
70c92a454eSBill PaulUsing jumbo frames can greatly improve performance for certain tasks,
71c678bc4fSBill Paulsuch as file transfers and data streaming.
72c678bc4fSBill Paul.Pp
73c678bc4fSBill PaulThe
74c678bc4fSBill Paul.Nm
75c678bc4fSBill Pauldriver supports the following media types:
76e8b02a42SRuslan Ermilov.Bl -tag -width ".Cm 1000baseSX"
77c678bc4fSBill Paul.It Cm autoselect
78c678bc4fSBill PaulEnable autoselection of the media type and options.
79c678bc4fSBill PaulThe user can manually override
80c678bc4fSBill Paulthe autoselected mode by adding media options to
81c678bc4fSBill Paul.Xr rc.conf 5 .
82c678bc4fSBill Paul.It Cm 1000baseSX
836120025fSRuslan ErmilovSet 1000baseSX operation over fiber optic cable.
846120025fSRuslan ErmilovBoth
85c678bc4fSBill Paul.Cm full-duplex
86c678bc4fSBill Pauland
87c678bc4fSBill Paul.Cm half-duplex
88c678bc4fSBill Paulmodes are supported.
89c678bc4fSBill Paul.El
90c678bc4fSBill Paul.Pp
91c678bc4fSBill PaulThe
92c678bc4fSBill Paul.Nm
93c678bc4fSBill Pauldriver supports the following media options:
94e8b02a42SRuslan Ermilov.Bl -tag -width ".Cm full-duplex"
95c678bc4fSBill Paul.It Cm full-duplex
96c678bc4fSBill PaulForce full duplex operation.
97c678bc4fSBill Paul.It Cm half-duplex
98c678bc4fSBill PaulForce half duplex operation.
99c678bc4fSBill Paul.El
100c678bc4fSBill Paul.Pp
101c678bc4fSBill PaulFor more information on configuring this device, see
102c678bc4fSBill Paul.Xr ifconfig 8 .
103a0f1044fSChristian Brueffer.Sh HARDWARE
104a0f1044fSChristian BruefferAdapters supported by the
105a0f1044fSChristian Brueffer.Nm
106a0f1044fSChristian Bruefferdriver include:
107a0f1044fSChristian Brueffer.Pp
108a0f1044fSChristian Brueffer.Bl -bullet -compact
109a0f1044fSChristian Brueffer.It
110a0f1044fSChristian BruefferSMC TigerCard 1000 (SMC9462SX)
111a0f1044fSChristian Brueffer.It
112a0f1044fSChristian BruefferD-Link DGE-500SX
113a0f1044fSChristian Brueffer.El
114c678bc4fSBill Paul.Sh DIAGNOSTICS
115c678bc4fSBill Paul.Bl -diag
116c678bc4fSBill Paul.It "lge%d: couldn't map memory"
117c678bc4fSBill PaulA fatal initialization error has occurred.
118c678bc4fSBill Paul.It "lge%d: couldn't map ports"
119c678bc4fSBill PaulA fatal initialization error has occurred.
120c678bc4fSBill Paul.It "lge%d: couldn't map interrupt"
121c678bc4fSBill PaulA fatal initialization error has occurred.
122c678bc4fSBill Paul.It "lge%d: no memory for softc struct!"
123c678bc4fSBill PaulThe driver failed to allocate memory for per-device instance information
124c678bc4fSBill Paulduring initialization.
125c678bc4fSBill Paul.It "lge%d: failed to enable memory mapping!"
126c678bc4fSBill PaulThe driver failed to initialize PCI shared memory mapping.
127c678bc4fSBill PaulThis might
128c678bc4fSBill Paulhappen if the card is not in a bus-master slot.
129c678bc4fSBill Paul.It "lge%d: no memory for jumbo buffers!"
130c678bc4fSBill PaulThe driver failed to allocate memory for jumbo frames during
131c678bc4fSBill Paulinitialization.
132c678bc4fSBill Paul.It "lge%d: watchdog timeout"
133c678bc4fSBill PaulThe device has stopped responding to the network, or there is a problem with
134c678bc4fSBill Paulthe network connection (cable).
135c678bc4fSBill Paul.El
136c678bc4fSBill Paul.Sh SEE ALSO
137c678bc4fSBill Paul.Xr arp 4 ,
138130b84f5SChristian Brueffer.Xr miibus 4 ,
139c678bc4fSBill Paul.Xr netintro 4 ,
140c678bc4fSBill Paul.Xr ng_ether 4 ,
141c678bc4fSBill Paul.Xr ifconfig 8
142c678bc4fSBill Paul.Rs
143c678bc4fSBill Paul.%T Level 1 LXT1001 Programming Manual
144*a2aef24aSEitan Adler.%U https://www.FreeBSD.org/~wpaul/Level1/LXT1001SRM.pdf
145c678bc4fSBill Paul.Re
146c678bc4fSBill Paul.Sh HISTORY
147c678bc4fSBill PaulThe
148c678bc4fSBill Paul.Nm
149c678bc4fSBill Pauldevice driver first appeared in
15086f47875SSheldon Hearn.Fx 4.4 .
151c678bc4fSBill Paul.Sh AUTHORS
152c678bc4fSBill PaulThe
153c678bc4fSBill Paul.Nm
154c678bc4fSBill Pauldriver was written by
1556c899950SBaptiste Daroussin.An Bill Paul Aq Mt william.paul@windriver.com .
156