xref: /freebsd/share/man/man4/gem.4 (revision 089104e0e01f080c9cd45dc5f34c4f636dea4ca7)
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.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25.\" POSSIBILITY OF SUCH DAMAGE.
26.\"
27.\" $FreeBSD$
28.\"
29.Dd April 18, 2023
30.Dt GEM 4
31.Os
32.Sh NAME
33.Nm gem
34.Nd GEM/GMAC Ethernet device driver
35.Sh SYNOPSIS
36To compile this driver into the kernel,
37place the following lines in your
38kernel configuration file:
39.Bd -ragged -offset indent
40.Cd "device miibus"
41.Cd "device gem"
42.Ed
43.Pp
44Alternatively, to load the driver as a
45module at boot time, place the following line in
46.Xr loader.conf 5 :
47.Bd -literal -offset indent
48if_gem_load="YES"
49.Ed
50.Sh DESCRIPTION
51The
52.Nm
53driver provides support for the GMAC Ethernet hardware found mostly in
54the last Apple PowerBooks G3s and most G4-based Apple hardware.
55.Pp
56All controllers supported by the
57.Nm
58driver have TCP checksum offload capability for both receive and transmit,
59support for the reception and transmission of extended frames for
60.Xr vlan 4
61and a 512-bit multicast hash filter.
62.Sh HARDWARE
63Chips supported by the
64.Nm
65driver include:
66.Pp
67.Bl -bullet -compact
68.It
69Apple GMAC
70.It
71Sun GEM Gigabit Ethernet
72.El
73.Pp
74The
75following add-on cards are known to work with the
76.Nm
77driver at this time:
78.Pp
79.Bl -bullet -compact
80.It
81Sun Gigabit Ethernet PCI 2.0/3.0 (GBE/P)
82(part no.\& 501-4373)
83.El
84.Sh SEE ALSO
85.Xr altq 4 ,
86.Xr miibus 4 ,
87.Xr netintro 4 ,
88.Xr vlan 4 ,
89.Xr ifconfig 8
90.Sh HISTORY
91The
92.Nm
93device driver appeared in
94.Nx 1.6 .
95The first
96.Fx
97version to include it was
98.Fx 5.0 .
99.Sh AUTHORS
100.An -nosplit
101The
102.Nm
103driver was written for
104.Nx
105by
106.An Eduardo Horvath Aq Mt eeh@NetBSD.org .
107It was ported to
108.Fx
109by
110.An Thomas Moestl Aq Mt tmm@FreeBSD.org
111and later on improved by
112.An Marius Strobl Aq Mt marius@FreeBSD.org .
113The man page was written by
114.An Thomas Klausner Aq Mt wiz@NetBSD.org .
115