xref: /openbsd/share/man/man4/lge.4 (revision dfaa5392)
1.\" $OpenBSD: lge.4,v 1.7 2004/03/21 19:50:25 miod Exp $
2.\" Copyright (c) 2001 Wind River Systems
3.\" Copyright (c) 1997, 1998, 1999, 2000, 2001
4.\"	Bill Paul <william.paul@windriver.com>. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software
15.\"    must display the following acknowledgement:
16.\"	This product includes software developed by Bill Paul.
17.\" 4. Neither the name of the author nor the names of any co-contributors
18.\"    may be used to endorse or promote products derived from this software
19.\"   without specific prior written permission.
20.\"
21.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
22.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
25.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31.\" THE POSSIBILITY OF SUCH DAMAGE.
32.\"
33.\" $FreeBSD: src/share/man/man4/lge.4,v 1.3 2001/07/06 08:34:13 ru Exp $
34.\"
35.Dd May 30, 2001
36.Dt LGE 4
37.Os
38.Sh NAME
39.Nm lge
40.Nd "Level 1 LXT1001 NetCellerator PCI gigabit ethernet adapter driver"
41.Sh SYNOPSIS
42.Cd "lge* at pci? dev ? function ?"
43.Sh DESCRIPTION
44The
45.Nm
46driver provides support for various NICs based on the Level 1 LXT1001
47NetCellerator gigabit ethernet controller chip, including the
48following:
49.Pp
50.Bl -bullet -compact
51.It
52SMC TigerCard 1000 (SMC9462SX)
53.It
54D-Link DGE-500SX
55.El
56.Pp
57These NICs are capable of 1000Mbps speeds over fiber optic cable.
58The LXT1001 also supports a GMII port for use with 10/100/1000 copper
59PHYs, however there aren't currently any NICs on the market that use
60this feature.
61.Pp
62The LXT1001 supports TCP/IP checksum offload for receive and
63VLAN-based filtering as well as a 64-bit multicast hash filter.
64It also supports jumbo frames, which can be configured
65via the interface MTU setting.
66Selecting an MTU larger than 1500 bytes with the
67.Xr ifconfig 8
68utility configures the adapter to receive and transmit jumbo frames.
69Using jumbo frames can greatly improve performance for certain tasks,
70such as file transfers and data streaming.
71.Pp
72The
73.Nm
74driver supports the following media types:
75.Bl -tag -width full-duplex
76.It Cm autoselect
77Enable autoselection of the media type and options.
78The user can manually override
79the autoselected mode by adding media options to the appropriate
80.Xr hostname.if 5
81file.
82.It Cm 1000baseSX
83Set 1000baseSX operation over fiber optic cable.
84Both
85.Cm full-duplex
86and
87.Cm half-duplex
88modes are supported.
89.El
90.Pp
91The
92.Nm
93driver supports the following media options:
94.Bl -tag -width full-duplex
95.It Cm full-duplex
96Force full duplex operation.
97.It Cm half-duplex
98Force half duplex operation.
99.El
100.Pp
101For more information on configuring this device, see
102.Xr ifconfig 8 .
103.Sh DIAGNOSTICS
104.Bl -diag
105.It "lge%d: couldn't map memory"
106A fatal initialization error has occurred.
107.It "lge%d: couldn't map ports"
108A fatal initialization error has occurred.
109.It "lge%d: couldn't map interrupt"
110A fatal initialization error has occurred.
111.It "lge%d: no memory for softc struct!"
112The driver failed to allocate memory for per-device instance information
113during initialization.
114.It "lge%d: failed to enable memory mapping!"
115The driver failed to initialize PCI shared memory mapping.
116This might
117happen if the card is not in a bus-master slot.
118.It "lge%d: no memory for jumbo buffers!"
119The driver failed to allocate memory for jumbo frames during
120initialization.
121.It "lge%d: watchdog timeout"
122The device has stopped responding to the network, or there is a problem with
123the network connection (cable).
124.El
125.Sh SEE ALSO
126.Xr arp 4 ,
127.Xr ifmedia 4 ,
128.Xr intro 4 ,
129.Xr netintro 4 ,
130.Xr pci 4 ,
131.Xr vlan 4 ,
132.Xr hostname.if 5 ,
133.Xr ifconfig 8
134.Rs
135.%T Level 1 LXT1001 Programming Manual
136.%O http://www.FreeBSD.org/~wpaul/Level1/LXT1001SRM.pdf
137.Re
138.Sh HISTORY
139The
140.Nm
141device driver first appeared in
142.Ox 3.0 .
143.Sh AUTHORS
144The
145.Nm
146driver was written by
147.An Bill Paul Aq william.paul@windriver.com .
148