xref: /freebsd/share/man/man4/lge.4 (revision 1b6c76a2fe091c74f08427e6c870851025a9cf67)
1.\" Copyright (c) 2001 Wind River Systems
2.\" Copyright (c) 1997, 1998, 1999, 2000, 2001
3.\"	Bill Paul <william.paul@windriver.com>. All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\" 3. All advertising materials mentioning features or use of this software
14.\"    must display the following acknowledgement:
15.\"	This product includes software developed by Bill Paul.
16.\" 4. Neither the name of the author nor the names of any co-contributors
17.\"    may be used to endorse or promote products derived from this software
18.\"   without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
24.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30.\" THE POSSIBILITY OF SUCH DAMAGE.
31.\"
32.\" $FreeBSD$
33.\"
34.Dd May 30, 2001
35.Dt LGE 4
36.Os
37.Sh NAME
38.Nm lge
39.Nd "Level 1 LXT1001 NetCellerator PCI gigabit ethernet adapter driver"
40.Sh SYNOPSIS
41.Cd "device miibus"
42.Cd "device lge"
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 1000baseSX
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
80.Xr rc.conf 5 .
81.It Cm 1000baseSX
82Set 1000baseSX operation over fiber optic cable. Both
83.Cm full-duplex
84and
85.Cm half-duplex
86modes are supported.
87.El
88.Pp
89The
90.Nm
91driver supports the following media options:
92.Bl -tag -width full-duplex
93.It Cm full-duplex
94Force full duplex operation.
95.It Cm half-duplex
96Force half duplex operation.
97.El
98.Pp
99For more information on configuring this device, see
100.Xr ifconfig 8 .
101.Sh DIAGNOSTICS
102.Bl -diag
103.It "lge%d: couldn't map memory"
104A fatal initialization error has occurred.
105.It "lge%d: couldn't map ports"
106A fatal initialization error has occurred.
107.It "lge%d: couldn't map interrupt"
108A fatal initialization error has occurred.
109.It "lge%d: no memory for softc struct!"
110The driver failed to allocate memory for per-device instance information
111during initialization.
112.It "lge%d: failed to enable memory mapping!"
113The driver failed to initialize PCI shared memory mapping.
114This might
115happen if the card is not in a bus-master slot.
116.It "lge%d: no memory for jumbo buffers!"
117The driver failed to allocate memory for jumbo frames during
118initialization.
119.It "lge%d: watchdog timeout"
120The device has stopped responding to the network, or there is a problem with
121the network connection (cable).
122.El
123.Sh SEE ALSO
124.Xr arp 4 ,
125.Xr netintro 4 ,
126.Xr ng_ether 4 ,
127.Xr ifconfig 8
128.Rs
129.%T Level 1 LXT1001 Programming Manual
130.%O http://www.freebsd.org/~wpaul/Level1/LXT1001SRM.pdf
131.Re
132.Sh HISTORY
133The
134.Nm
135device driver first appeared in
136.Fx 5.0 .
137.Sh AUTHORS
138The
139.Nm
140driver was written by
141.An Bill Paul Aq william.paul@windriver.com .
142