xref: /openbsd/share/man/man4/lge.4 (revision 43750155)
1.\" $OpenBSD: lge.4,v 1.15 2005/08/23 18:15:59 jmc 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?"
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
52Allied Telesis CentreCOM LA1000-PCI-SX
53.It
54D-Link DGE-500SX
55.It
56SMC TigerCard 1000 (SMC9462SX)
57.El
58.Pp
59These NICs are capable of 1000Mbps speeds over fiber optic cable.
60The LXT1001 also supports a GMII port for use with 10/100/1000 copper
61PHYs, however there aren't currently any NICs on the market that use
62this feature.
63.Pp
64The LXT1001 supports TCP/IP checksum offload for receive and
65VLAN-based filtering as well as a 64-bit multicast hash filter.
66It also supports jumbo frames, which can be configured
67via the interface MTU setting.
68Selecting an MTU larger than 1500 bytes with the
69.Xr ifconfig 8
70utility configures the adapter to receive and transmit jumbo frames.
71Using jumbo frames can greatly improve performance for certain tasks,
72such as file transfers and data streaming.
73.Pp
74The
75.Nm
76driver supports the following media types:
77.Bl -tag -width full-duplex
78.It Cm autoselect
79Enable autoselection of the media type and options.
80The user can manually override
81the autoselected mode by adding media options to the appropriate
82.Xr hostname.if 5
83file.
84.It Cm 1000baseSX
85Set 1000baseSX operation over fiber optic cable.
86Both
87.Cm full-duplex
88and
89.Cm half-duplex
90modes are supported.
91.El
92.Pp
93The
94.Nm
95driver supports the following media options:
96.Bl -tag -width full-duplex
97.It Cm full-duplex
98Force full duplex operation.
99.It Cm half-duplex
100Force half duplex operation.
101.El
102.Pp
103For more information on configuring this device, see
104.Xr ifconfig 8 .
105.Sh DIAGNOSTICS
106.Bl -diag
107.It "lge%d: couldn't map memory"
108A fatal initialization error has occurred.
109.It "lge%d: couldn't map ports"
110A fatal initialization error has occurred.
111.It "lge%d: couldn't map interrupt"
112A fatal initialization error has occurred.
113.It "lge%d: no memory for softc struct!"
114The driver failed to allocate memory for per-device instance information
115during initialization.
116.It "lge%d: failed to enable memory mapping!"
117The driver failed to initialize PCI shared memory mapping.
118This might
119happen if the card is not in a bus-master slot.
120.It "lge%d: no memory for jumbo buffers!"
121The driver failed to allocate memory for jumbo frames during
122initialization.
123.It "lge%d: watchdog timeout"
124The device has stopped responding to the network, or there is a problem with
125the network connection (cable).
126.El
127.Sh SEE ALSO
128.Xr arp 4 ,
129.Xr ifmedia 4 ,
130.Xr intro 4 ,
131.Xr netintro 4 ,
132.Xr pci 4 ,
133.Xr hostname.if 5 ,
134.Xr ifconfig 8
135.Rs
136.%T Level 1 LXT1001 Programming Manual
137.%O http://people.freebsd.org/~wpaul/Level1/LXT1001SRM.pdf
138.Re
139.Sh HISTORY
140The
141.Nm
142device driver first appeared in
143.Ox 3.0 .
144.Sh AUTHORS
145The
146.Nm
147driver was written by
148.An Bill Paul Aq william.paul@windriver.com .
149