xref: /openbsd-src/share/man/man4/dwge.4 (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1.\"	$OpenBSD: dwge.4,v 1.2 2016/08/13 23:35:00 jmc Exp $
2.\"
3.\" Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: August 13 2016 $
18.Dt DWGE 4
19.Os
20.Sh NAME
21.Nm dwge
22.Nd Designware GMAC 10/100/Gigabit Ethernet device
23.Sh SYNOPSIS
24.Cd "dwge* at fdt?"
25.Cd "rgephy*" at mii?
26.Sh DESCRIPTION
27The
28.Nm
29driver provides support for various Ethernet controllers based on the
30Synopsis Designware GMAC core.
31These controllers are typically found on SoCs, such as the various ARM
32SoCs from Allwinner, starting with the Allwinner A20.
33.Pp
34The
35.Nm
36driver supports several media types, which are selected via the
37.Xr ifconfig 8
38command.
39The supported media types are:
40.Bl -tag -width "media" -offset indent
41.It media autoselect
42Attempt to autoselect the media type (default)
43.It media 1000baseT mediaopt full-duplex
44Use 1000baseT on copper, full duplex
45.It media 1000baseT Op mediaopt half-duplex
46Use 1000baseT on copper, half duplex
47.It media 100baseTX  mediaopt full-duplex
48Use 100baseTX, full duplex
49.It media 100baseTX Op mediaopt half-duplex
50Use 100baseTX, half duplex
51.El
52.Sh SEE ALSO
53.Xr arp 4 ,
54.Xr ifmedia 4 ,
55.Xr inet 4 ,
56.Xr intro 4 ,
57.Xr netintro 4 ,
58.Xr rgephy 4 ,
59.Xr hostname.if 5 ,
60.Xr ifconfig 8
61.Sh HISTORY
62.Ox
63support for
64.Nm
65first appeared in
66.Ox 6.1 .
67.Sh AUTHORS
68.An -nosplit
69The
70.Nm
71driver was written by
72.An Matt Thomas
73and
74.An Martin Husemann
75for
76.Nx
77and ported to
78.Ox
79by
80.An Patrick Wildt Aq Mt patrick@openbsd.org
81and
82.An Mark Kettenis Aq Mt kettenis@openbsd.org .
83