1.\" $NetBSD: gem.4,v 1.2 2003/02/14 15:20:18 grant Exp $ 2.\" 3.\" Copyright (c) 2002 The NetBSD Foundation, Inc. 4.\" 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 the NetBSD 17.\" Foundation, Inc. and its contributors. 18.\" 4. Neither the name of The NetBSD Foundation nor the names of its 19.\" contributors may be used to endorse or promote products derived 20.\" from this software without specific prior written permission. 21.\" 22.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 23.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 24.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 25.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 26.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 27.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 28.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 30.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 31.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32.\" POSSIBILITY OF SUCH DAMAGE. 33.\" 34.\" $FreeBSD$ 35.\" 36.Dd August 15, 2004 37.Dt GEM 4 38.Os 39.Sh NAME 40.Nm gem 41.Nd ERI/GEM/GMAC Ethernet device driver 42.Sh SYNOPSIS 43.Cd "device miibus" 44.Cd "device gem" 45.Sh DESCRIPTION 46The 47.Nm 48driver provides support for the GMac Ethernet hardware found mostly in 49the last Apple PowerBooks G3s and most G4-based Apple hardware, as 50well as many Sun UltraSPARCs. 51.Sh HARDWARE 52.Pp 53Cards supported by 54.Nm 55driver include: 56.Pp 57.Bl -bullet -compact 58.It 59Sun GEM gigabit Ethernet 60.It 61Sun ERI 10/100 Mbps Ethernet 62.It 63Apple GMAC 64.El 65.Sh NOTES 66On sparc64 the 67.Nm 68driver respects the 69.Va local-mac-address? 70system configuration variable which can be set in the Open Firmware boot 71monitor using the 72.Ic setenv 73command or by 74.Xr eeprom 8 . 75If set to 76.Dq Li false 77(the default), the 78.Nm 79driver will use the system's default MAC address for all of its devices. 80If set to 81.Dq Li true , 82the unique MAC address of each interface is used if present rather than 83the system's default MAC address. 84.Pp 85Supported interfaces having their own MAC address include the on-board 86Sun ERI 10/100 Mbps and GEM gigabit Ethernet Interfaces on boards equipped 87with more than one Ethernet interface and the Sun GEM gigabit Ethernet 88add-on cards. 89.Sh SEE ALSO 90.Xr hme 4 , 91.Xr miibus 4 , 92.Xr netintro 4 , 93.Xr eeprom 8 , 94.Xr ifconfig 8 95.Sh HISTORY 96The 97.Nm 98device driver appeared in 99.Nx 1.6 . 100The first 101.Fx 102version to include it was 103.Fx 5.0 . 104.Sh AUTHORS 105.An -nosplit 106The 107.Nm 108driver was written by 109.An Eduardo Horvath 110.Aq eeh@NetBSD.org . 111The man page was written by 112.An Thomas Klausner 113.Aq wiz@NetBSD.org . 114