xref: /freebsd/share/man/man4/gem.4 (revision 95eb4b873b6a8b527c5bd78d7191975dfca38998)
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.Dd April 18, 2023
28.Dt GEM 4
29.Os
30.Sh NAME
31.Nm gem
32.Nd GEM/GMAC Ethernet device driver
33.Sh SYNOPSIS
34To compile this driver into the kernel,
35place the following lines in your
36kernel configuration file:
37.Bd -ragged -offset indent
38.Cd "device miibus"
39.Cd "device gem"
40.Ed
41.Pp
42Alternatively, to load the driver as a
43module at boot time, place the following line in
44.Xr loader.conf 5 :
45.Bd -literal -offset indent
46if_gem_load="YES"
47.Ed
48.Sh DESCRIPTION
49The
50.Nm
51driver provides support for the GMAC Ethernet hardware found mostly in
52the last Apple PowerBooks G3s and most G4-based Apple hardware.
53.Pp
54All controllers supported by the
55.Nm
56driver have TCP checksum offload capability for both receive and transmit,
57support for the reception and transmission of extended frames for
58.Xr vlan 4
59and a 512-bit multicast hash filter.
60.Sh HARDWARE
61Chips supported by the
62.Nm
63driver include:
64.Pp
65.Bl -bullet -compact
66.It
67Apple GMAC
68.It
69Sun GEM Gigabit Ethernet
70.El
71.Pp
72The
73following add-on cards are known to work with the
74.Nm
75driver at this time:
76.Pp
77.Bl -bullet -compact
78.It
79Sun Gigabit Ethernet PCI 2.0/3.0 (GBE/P)
80(part no.\& 501-4373)
81.El
82.Sh SEE ALSO
83.Xr altq 4 ,
84.Xr miibus 4 ,
85.Xr netintro 4 ,
86.Xr vlan 4 ,
87.Xr ifconfig 8
88.Sh HISTORY
89The
90.Nm
91device driver appeared in
92.Nx 1.6 .
93The first
94.Fx
95version to include it was
96.Fx 5.0 .
97.Sh AUTHORS
98.An -nosplit
99The
100.Nm
101driver was written for
102.Nx
103by
104.An Eduardo Horvath Aq Mt eeh@NetBSD.org .
105It was ported to
106.Fx
107by
108.An Thomas Moestl Aq Mt tmm@FreeBSD.org
109and later on improved by
110.An Marius Strobl Aq Mt marius@FreeBSD.org .
111The man page was written by
112.An Thomas Klausner Aq Mt wiz@NetBSD.org .
113