1.\" $OpenBSD: dwge.4,v 1.7 2023/04/04 00:38:38 jsg 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: April 4 2023 $ 18.Dt DWGE 4 19.Os 20.Sh NAME 21.Nm dwge 22.Nd Synopsys DesignWare GMAC 10/100/1Gb 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 30Synopsys DesignWare GMAC core. 31These controllers are typically found on SoCs, such as the Allwinner 32A20/A31 and Rockchip RK3288/RK3399 ARM SoCs. 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 Cm media No autoselect 42Attempt to autoselect the media type (default) 43.It Cm media No 1000baseT Cm mediaopt No full-duplex 44Use 1000baseT on copper, full duplex 45.It Cm media No 1000baseT Cm mediaopt No half-duplex 46Use 1000baseT on copper, half duplex 47.It Cm media No 100baseTX Cm mediaopt No full-duplex 48Use 100baseTX, full duplex 49.It Cm media No 100baseTX Cm mediaopt No 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 62The 63.Nm 64driver first appeared in 65.Nx 7.0 . 66It was ported to 67.Ox 6.1 68and rewritten for 69.Ox 6.6 . 70.Sh AUTHORS 71.An -nosplit 72The 73.Nm 74driver was written by 75.An Matt Thomas 76and 77.An Martin Husemann 78for 79.Nx 80and rewritten by 81.An Mark Kettenis Aq Mt kettenis@openbsd.org 82and 83.An Patrick Wildt Aq Mt patrick@openbsd.org . 84