xref: /openbsd-src/share/man/man4/gem.4 (revision 850e275390052b330d93020bf619a739a3c277ac)
1.\"	$OpenBSD: gem.4,v 1.17 2007/05/31 19:19:50 jmc Exp $
2.\"
3.\" Copyright (c) 2001 Miodrag Vallat.
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. Redistribution 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 AUTHOR ``AS IS'' AND ANY EXPRESS OR
16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25.\"
26.\"
27.Dd $Mdocdate: May 31 2007 $
28.Dt GEM 4
29.Os
30.Sh NAME
31.Nm gem
32.Nd GEM 10/100/Gigabit Ethernet device
33.Sh SYNOPSIS
34.Cd "gem* at pci?"
35.Cd "gem* at sbus?"
36.Cd "bmtphy* at mii?"
37.Cd "brgphy* at mii?"
38.Cd "eephy* at mii?"
39.Cd "gentbi* at mii?"
40.Cd "lxtphy* at mii?"
41.Sh DESCRIPTION
42The
43.Nm
44driver provides support for various NICs based on the GEM Ethernet controller
45chips, including the following:
46.Pp
47.Bl -bullet -compact -offset indent
48.It
49Apple GMAC (10/100/1000baseT)
50.It
51Sun ERI (10/100baseT)
52.It
53Sun GEM (10/100/1000baseT)
54.It
55Sun GEM (1000baseSX)
56.El
57.Pp
58It uses an external PHY or an external 10-bit interface.
59.Pp
60The
61.Nm
62driver supports several media types, which are selected via the
63.Xr ifconfig 8
64command.
65The supported media types are:
66.Bl -tag -width "media" -offset indent
67.It media autoselect
68Attempt to autoselect the media type (default)
69.It media 1000baseT mediaopt full-duplex
70Use 1000baseT on copper, full duplex
71.It media 1000baseT Op mediaopt half-duplex
72Use 1000baseT on copper, half duplex
73.It media 1000baseSX  mediaopt full-duplex
74Use 1000baseSX on fiber, full duplex
75.It media 1000baseSX Op mediaopt half-duplex
76Use 1000baseSX on fiber, half duplex
77.It media 100baseTX  mediaopt full-duplex
78Use 100baseTX, full duplex
79.It media 100baseTX Op mediaopt half-duplex
80Use 100baseTX, half duplex
81.It media 10baseT mediaopt full-duplex
82Use 10baseT, full duplex
83.It media 10baseT Op mediaopt half-duplex
84Use 10baseT, half duplex
85.El
86.Sh SEE ALSO
87.Xr arp 4 ,
88.Xr bmtphy 4 ,
89.Xr brgphy 4 ,
90.Xr eephy 4 ,
91.Xr gentbi 4 ,
92.Xr ifmedia 4 ,
93.Xr inet 4 ,
94.Xr intro 4 ,
95.Xr lxtphy 4 ,
96.Xr netintro 4 ,
97.Xr hostname.if 5 ,
98.Xr ifconfig 8
99.Sh HISTORY
100.Ox
101support for
102.Nm
103first appeared in
104.Ox 3.0 .
105