1.\" $OpenBSD: dwxe.4,v 1.2 2021/09/08 20:29:21 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: September 8 2021 $ 18.Dt DWXE 4 19.Os 20.Sh NAME 21.Nm dwxe 22.Nd Allwinner EMAC 10/100/1Gb Ethernet device 23.Sh SYNOPSIS 24.Cd "dwxe* at fdt?" 25.Cd "rgephy*" at mii? 26.Sh DESCRIPTION 27The 28.Nm 29driver provides support for various Ethernet controllers based on the 30Allwinner EMAC. 31These controllers are found on the Allwinner H3/H5/A64 SoCs. 32.Pp 33The 34.Nm 35driver supports several media types, which are selected via the 36.Xr ifconfig 8 37command. 38The supported media types are: 39.Bl -tag -width "media" -offset indent 40.It media autoselect 41Attempt to autoselect the media type (default) 42.It media 1000baseT mediaopt full-duplex 43Use 1000baseT on copper, full duplex 44.It media 1000baseT Op mediaopt half-duplex 45Use 1000baseT on copper, half duplex 46.It media 100baseTX mediaopt full-duplex 47Use 100baseTX, full duplex 48.It media 100baseTX Op mediaopt half-duplex 49Use 100baseTX, half duplex 50.El 51.Sh SEE ALSO 52.Xr arp 4 , 53.Xr ifmedia 4 , 54.Xr inet 4 , 55.Xr intro 4 , 56.Xr netintro 4 , 57.Xr rgephy 4 , 58.Xr hostname.if 5 , 59.Xr ifconfig 8 60.Sh HISTORY 61.Ox 62support for 63.Nm 64first appeared in 65.Ox 6.2 . 66.Sh AUTHORS 67.An -nosplit 68The 69.Nm 70driver was written by 71.An Patrick Wildt Aq Mt patrick@openbsd.org . 72