xref: /netbsd-src/share/man/man4/gem.4 (revision f43cf75ad4bd1f63381aeebea15e43791a82aa50)
1*f43cf75aSsevan.\" $NetBSD: gem.4,v 1.12 2018/06/02 19:08:34 sevan Exp $
2e00999b9Swiz.\"
3e00999b9Swiz.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
4e00999b9Swiz.\" All rights reserved.
5e00999b9Swiz.\"
6e00999b9Swiz.\" Redistribution and use in source and binary forms, with or without
7e00999b9Swiz.\" modification, are permitted provided that the following conditions
8e00999b9Swiz.\" are met:
9e00999b9Swiz.\" 1. Redistributions of source code must retain the above copyright
10e00999b9Swiz.\"    notice, this list of conditions and the following disclaimer.
11e00999b9Swiz.\" 2. Redistributions in binary form must reproduce the above copyright
12e00999b9Swiz.\"    notice, this list of conditions and the following disclaimer in the
13e00999b9Swiz.\"    documentation and/or other materials provided with the distribution.
14e00999b9Swiz.\"
15e00999b9Swiz.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16e00999b9Swiz.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17e00999b9Swiz.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18e00999b9Swiz.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19e00999b9Swiz.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20e00999b9Swiz.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21e00999b9Swiz.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22e00999b9Swiz.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23e00999b9Swiz.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24e00999b9Swiz.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25e00999b9Swiz.\" POSSIBILITY OF SUCH DAMAGE.
26e00999b9Swiz.\"
27*f43cf75aSsevan.Dd June 2, 2018
28e00999b9Swiz.Dt GEM 4
29e00999b9Swiz.Os
30e00999b9Swiz.Sh NAME
31e00999b9Swiz.Nm gem
32e00999b9Swiz.Nd ERI/GEM/GMAC Ethernet device driver
33e00999b9Swiz.Sh SYNOPSIS
34e00999b9Swiz.Cd "gem* at pci? dev ? function ?"
3520409ec3Sjdc.Cd "gem* at sbus? slot ? offset ?"
36e00999b9Swiz.Pp
37e00999b9SwizConfiguration of PHYs may also be necessary.
38e00999b9SwizSee
39e00999b9Swiz.Xr mii 4 .
40e00999b9Swiz.Sh DESCRIPTION
41e00999b9SwizThe
42e00999b9Swiz.Nm
43e00999b9Swizdriver provides support for the GMac Ethernet hardware found mostly in
44e00999b9Swizthe last Apple PowerBooks G3s and most G4-based Apple hardware, as
45e00999b9Swizwell as many Sun UltraSPARCs.
46e00999b9Swiz.Pp
47e00999b9SwizCards supported by this driver include:
48e00999b9Swiz.Bl -bullet -compact -offset indent
49e00999b9Swiz.It
50a79bc505SwizSun GEM Gigabit Ethernet (SX fibre variants)
51e00999b9Swiz.It
52e00999b9SwizSun ERI 10/100
53e00999b9Swiz.It
54e00999b9SwizApple GMAC
55e00999b9Swiz.El
56952103f5Sheas.Pp
57952103f5SheasThe GEM family supports hardware checksumming to assist in computing
5820409ec3SjdcIPv4 TCP checksums.
59952103f5SheasThe
60952103f5Sheas.Nm
61952103f5Sheasdriver supports this feature of the chip.
62952103f5SheasSee
63952103f5Sheas.Xr ifconfig 8
64952103f5Sheasfor information on how to enable this feature.
65e00999b9Swiz.Sh SEE ALSO
6620409ec3Sjdc.Xr bmtphy 4 ,
6720409ec3Sjdc.Xr ifmedia 4 ,
6820409ec3Sjdc.Xr intro 4 ,
69*f43cf75aSsevan.Xr makphy 4 ,
70e00999b9Swiz.Xr mii 4 ,
7120409ec3Sjdc.Xr ifconfig 8
7220409ec3Sjdc.Rs
7320409ec3Sjdc.%T "GEM Gigabit Ethernet ASIC Specification"
7420409ec3Sjdc.%A Sun Microsystems
75aee81ebcSjoerg.%U http://www.sun.com/processors/manuals/ge.pdf
7620409ec3Sjdc.Re
77d62f5b37Sjdc.Rs
78d62f5b37Sjdc.%T "Sbus GEM Specification"
79d62f5b37Sjdc.%A Sun Microsystems
80aee81ebcSjoerg.%U http://mediacast.sun.com/users/Barton808/media/gem_sbus-1.pdf
81d62f5b37Sjdc.Re
82e00999b9Swiz.Sh HISTORY
83e00999b9SwizThe
84e00999b9Swiz.Nm
85e00999b9Swizdevice driver appeared in
86e00999b9Swiz.Nx 1.6 .
87d62f5b37SjdcSupport for PCI SX fibre cards was added in
88a2c6d1c5Stsutsui.Nx 5.0 .
89d62f5b37SjdcSupport for SBus SX fibre cards was added in
90d62f5b37Sjdc.Nx 5.0 .
91e00999b9Swiz.Sh AUTHORS
92d8045b52Speter.An -nosplit
93e00999b9SwizThe
94e00999b9Swiz.Nm
957dc9239dSgrantdriver was written by
967dc9239dSgrant.An Eduardo Horvath
977dc9239dSgrant.Aq eeh@NetBSD.org .
98d62f5b37SjdcSX fibre support was added by
99d62f5b37Sjdc.An Julian Coleman
100d62f5b37Sjdc.Aq jdc@NetBSD.org .
1017dc9239dSgrantThe man page was written by
1027dc9239dSgrant.An Thomas Klausner
1037dc9239dSgrant.Aq wiz@NetBSD.org .
10420409ec3Sjdc.Sh BUGS
105608790d5SjdcThe hardware checksumming support does not support IPv4 UDP, although this was
106608790d5Sjdcallowed prior to
107d62f5b37Sjdc.Nx 5.0 .
108608790d5SjdcAlso, the hardware IPv4 TCP receive checksumming support has bugs, so this is
109608790d5Sjdcdisabled.
110608790d5Sjdc.Pp
11120409ec3SjdcOn the SX fibre variants of the hardware, the link will stay down if there is
11220409ec3Sjdca duplex mismatch.
11320409ec3SjdcAlso, packet transmission may fail when in
11420409ec3Sjdc.Cm half-duplex
11520409ec3Sjdcmode.
116