xref: /freebsd/share/man/man4/gem.4 (revision d54384d976a3f6703e761915018b9d7d190b06f3)
1cc264d00SThomas Moestl.\" $NetBSD: gem.4,v 1.2 2003/02/14 15:20:18 grant Exp $
2cc264d00SThomas Moestl.\"
3cc264d00SThomas Moestl.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
4cc264d00SThomas Moestl.\" All rights reserved.
5cc264d00SThomas Moestl.\"
6cc264d00SThomas Moestl.\" Redistribution and use in source and binary forms, with or without
7cc264d00SThomas Moestl.\" modification, are permitted provided that the following conditions
8cc264d00SThomas Moestl.\" are met:
9cc264d00SThomas Moestl.\" 1. Redistributions of source code must retain the above copyright
10cc264d00SThomas Moestl.\"    notice, this list of conditions and the following disclaimer.
11cc264d00SThomas Moestl.\" 2. Redistributions in binary form must reproduce the above copyright
12cc264d00SThomas Moestl.\"    notice, this list of conditions and the following disclaimer in the
13cc264d00SThomas Moestl.\"    documentation and/or other materials provided with the distribution.
14cc264d00SThomas Moestl.\" 3. All advertising materials mentioning features or use of this software
15cc264d00SThomas Moestl.\"    must display the following acknowledgement:
16cc264d00SThomas Moestl.\"        This product includes software developed by the NetBSD
17cc264d00SThomas Moestl.\"        Foundation, Inc. and its contributors.
18cc264d00SThomas Moestl.\" 4. Neither the name of The NetBSD Foundation nor the names of its
19cc264d00SThomas Moestl.\"    contributors may be used to endorse or promote products derived
20cc264d00SThomas Moestl.\"    from this software without specific prior written permission.
21cc264d00SThomas Moestl.\"
22cc264d00SThomas Moestl.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
23cc264d00SThomas Moestl.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
24cc264d00SThomas Moestl.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25cc264d00SThomas Moestl.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
26cc264d00SThomas Moestl.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27cc264d00SThomas Moestl.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28cc264d00SThomas Moestl.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29cc264d00SThomas Moestl.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30cc264d00SThomas Moestl.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31cc264d00SThomas Moestl.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32cc264d00SThomas Moestl.\" POSSIBILITY OF SUCH DAMAGE.
33cc264d00SThomas Moestl.\"
3401ddd31fSRuslan Ermilov.\" $FreeBSD$
3501ddd31fSRuslan Ermilov.\"
36d54384d9SMarius Strobl.Dd June 14, 2009
37cc264d00SThomas Moestl.Dt GEM 4
38cc264d00SThomas Moestl.Os
39cc264d00SThomas Moestl.Sh NAME
40cc264d00SThomas Moestl.Nm gem
41cc264d00SThomas Moestl.Nd ERI/GEM/GMAC Ethernet device driver
42cc264d00SThomas Moestl.Sh SYNOPSIS
4313311d23SMarius StroblTo compile this driver into the kernel,
4413311d23SMarius Stroblplace the following lines in your
4513311d23SMarius Stroblkernel configuration file:
4613311d23SMarius Strobl.Bd -ragged -offset indent
47cc264d00SThomas Moestl.Cd "device miibus"
48cc264d00SThomas Moestl.Cd "device gem"
4913311d23SMarius Strobl.Ed
5013311d23SMarius Strobl.Pp
5113311d23SMarius StroblAlternatively, to load the driver as a
5213311d23SMarius Stroblmodule at boot time, place the following line in
5313311d23SMarius Strobl.Xr loader.conf 5 :
5413311d23SMarius Strobl.Bd -literal -offset indent
5513311d23SMarius Stroblif_gem_load="YES"
5613311d23SMarius Strobl.Ed
57cc264d00SThomas Moestl.Sh DESCRIPTION
58cc264d00SThomas MoestlThe
59cc264d00SThomas Moestl.Nm
60d54384d9SMarius Strobldriver provides support for the GMAC Ethernet hardware found mostly in
61cc264d00SThomas Moestlthe last Apple PowerBooks G3s and most G4-based Apple hardware, as
62d54384d9SMarius Stroblwell as Sun UltraSPARC machines.
63d54384d9SMarius Strobl.Pp
64d54384d9SMarius StroblAll controllers supported by the
65d54384d9SMarius Strobl.Nm
66d54384d9SMarius Strobldriver have TCP checksum offload capability for both receive and transmit,
67d54384d9SMarius Stroblsupport for the reception and transmission of extended frames for
68d54384d9SMarius Strobl.Xr vlan 4
69d54384d9SMarius Strobland a 512-bit multicast hash filter.
7070a310e2SSimon L. B. Nielsen.Sh HARDWARE
71cc264d00SThomas Moestl.Pp
72092f607dSMarius StroblChips supported by the
7370a310e2SSimon L. B. Nielsen.Nm
7470a310e2SSimon L. B. Nielsendriver include:
7570a310e2SSimon L. B. Nielsen.Pp
7670a310e2SSimon L. B. Nielsen.Bl -bullet -compact
77cc264d00SThomas Moestl.It
78092f607dSMarius StroblApple GMAC
79cc264d00SThomas Moestl.It
8083e76ab9SMarius StroblSun ERI 10/100 Mbps Ethernet
81cc264d00SThomas Moestl.It
82092f607dSMarius StroblSun GEM Gigabit Ethernet
83cc264d00SThomas Moestl.El
841ed3fed7SMarius Strobl.Pp
851ed3fed7SMarius StroblThe
861ed3fed7SMarius Stroblfollowing add-on cards are known to work with the
871ed3fed7SMarius Strobl.Nm
881ed3fed7SMarius Strobldriver at this time:
891ed3fed7SMarius Strobl.Pp
901ed3fed7SMarius Strobl.Bl -bullet -compact
911ed3fed7SMarius Strobl.It
921ed3fed7SMarius StroblSun Gigabit Ethernet PCI 2.0/3.0 (GBE/P)
931ed3fed7SMarius Strobl(part no.\& 501-4373)
94d54384d9SMarius Strobl.It
95d54384d9SMarius StroblSun Gigabit Ethernet SBus 2.0/3.0 (GBE/S)
96d54384d9SMarius Strobl(part no.\& 501-4375)
971ed3fed7SMarius Strobl.El
9883e76ab9SMarius Strobl.Sh NOTES
9983e76ab9SMarius StroblOn sparc64 the
10083e76ab9SMarius Strobl.Nm
10183e76ab9SMarius Strobldriver respects the
10283e76ab9SMarius Strobl.Va local-mac-address?
10383e76ab9SMarius Stroblsystem configuration variable which can be set in the Open Firmware boot
10483e76ab9SMarius Stroblmonitor using the
10583e76ab9SMarius Strobl.Ic setenv
10683e76ab9SMarius Stroblcommand or by
10783e76ab9SMarius Strobl.Xr eeprom 8 .
10883e76ab9SMarius StroblIf set to
10983e76ab9SMarius Strobl.Dq Li false
11083e76ab9SMarius Strobl(the default), the
11183e76ab9SMarius Strobl.Nm
11283e76ab9SMarius Strobldriver will use the system's default MAC address for all of its devices.
11383e76ab9SMarius StroblIf set to
11483e76ab9SMarius Strobl.Dq Li true ,
11583e76ab9SMarius Stroblthe unique MAC address of each interface is used if present rather than
11683e76ab9SMarius Stroblthe system's default MAC address.
11783e76ab9SMarius Strobl.Pp
11883e76ab9SMarius StroblSupported interfaces having their own MAC address include the on-board
119092f607dSMarius StroblSun ERI 10/100 Mbps on boards equipped with more than one Ethernet interface
120092f607dSMarius Strobland the Sun Gigabit Ethernet 2.0/3.0 GBE add-on cards.
121cc264d00SThomas Moestl.Sh SEE ALSO
12222e1a9d5SChristian Brueffer.Xr altq 4 ,
123cc264d00SThomas Moestl.Xr miibus 4 ,
124cc264d00SThomas Moestl.Xr netintro 4 ,
125d54384d9SMarius Strobl.Xr vlan 4 ,
12683e76ab9SMarius Strobl.Xr eeprom 8 ,
127cc264d00SThomas Moestl.Xr ifconfig 8
128cc264d00SThomas Moestl.Sh HISTORY
129cc264d00SThomas MoestlThe
130cc264d00SThomas Moestl.Nm
131cc264d00SThomas Moestldevice driver appeared in
132cc264d00SThomas Moestl.Nx 1.6 .
133cc264d00SThomas MoestlThe first
134cc264d00SThomas Moestl.Fx
135cc264d00SThomas Moestlversion to include it was
136cc264d00SThomas Moestl.Fx 5.0 .
137cc264d00SThomas Moestl.Sh AUTHORS
13801ddd31fSRuslan Ermilov.An -nosplit
139cc264d00SThomas MoestlThe
140cc264d00SThomas Moestl.Nm
141d54384d9SMarius Strobldriver was written for
142d54384d9SMarius Strobl.Nx
143d54384d9SMarius Stroblby
144cc264d00SThomas Moestl.An Eduardo Horvath
145cc264d00SThomas Moestl.Aq eeh@NetBSD.org .
146d54384d9SMarius StroblIt was ported to
147d54384d9SMarius Strobl.Fx
148d54384d9SMarius Stroblby
149d54384d9SMarius Strobl.An Thomas Moestl
150d54384d9SMarius Strobl.Aq tmm@FreeBSD.org
151d54384d9SMarius Strobland later on improved by
152d54384d9SMarius Strobl.An Marius Strobl
153d54384d9SMarius Strobl.Aq marus@FreeBSD.org .
154cc264d00SThomas MoestlThe man page was written by
155cc264d00SThomas Moestl.An Thomas Klausner
156cc264d00SThomas Moestl.Aq wiz@NetBSD.org .
157