From ff8b0dc576c2a993852f13eb418718f7e1c00a56 Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 17 Dec 2017 13:54:08 +0000 Subject: [PATCH] dwxe(4) --- share/man/man4/Makefile | 7 ++-- share/man/man4/dwxe.4 | 71 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 3 deletions(-) create mode 100644 share/man/man4/dwxe.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index d820d5cb259..22f9a99d182 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.660 2017/12/16 10:23:07 kettenis Exp $ +# $OpenBSD: Makefile,v 1.661 2017/12/17 13:54:08 kettenis Exp $ MAN= aac.4 ac97.4 acphy.4 acrtc.4 \ acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \ @@ -18,8 +18,9 @@ MAN= aac.4 ac97.4 acphy.4 acrtc.4 \ boca.4 bpf.4 brgphy.4 bridge.4 brswphy.4 bwfm.4 bwi.4 bytgpio.4 \ cac.4 cas.4 cardbus.4 carp.4 cd.4 cdce.4 cfxga.4 \ ch.4 chvgpio.4 ciphy.4 ciss.4 clcs.4 clct.4 cmpci.4 \ - com.4 cue.4 cy.4 cz.4 dc.4 dcphy.4 ddb.4 de.4 \ - diskmap.4 divert.4 dpt.4 drm.4 dwctwo.4 dwge.4 dwiic.4 dwmmc.4 \ + com.4 cue.4 cy.4 cz.4 \ + dc.4 dcphy.4 ddb.4 de.4 diskmap.4 divert.4 dpt.4 drm.4 dwctwo.4 \ + dwge.4 dwiic.4 dwmmc.4 dwxe.4 \ eap.4 ec.4 eephy.4 ef.4 eg.4 ehci.4 eisa.4 el.4 em.4 emc.4 gcu.4 \ emu.4 enc.4 endrun.4 envy.4 ep.4 epic.4 esa.4 \ eso.4 ess.4 et.4 etherip.4 etphy.4 ex.4 exphy.4 \ diff --git a/share/man/man4/dwxe.4 b/share/man/man4/dwxe.4 new file mode 100644 index 00000000000..3bb4ef5709d --- /dev/null +++ b/share/man/man4/dwxe.4 @@ -0,0 +1,71 @@ +.\" $OpenBSD: dwxe.4,v 1.1 2017/12/17 13:54:08 kettenis Exp $ +.\" +.\" Copyright (c) 2016 Mark Kettenis +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: December 17 2017 $ +.Dt DWXE 4 +.Os +.Sh NAME +.Nm dwxe +.Nd Allwinner EMAC 10/100/Gigabit Ethernet device +.Sh SYNOPSIS +.Cd "dwxe* at fdt?" +.Cd "rgephy*" at mii? +.Sh DESCRIPTION +The +.Nm +driver provides support for various Ethernet controllers based on the +Allwinner EMAC. +These controllers are found on the Allwinner H3/H5/A64 SoCs. +.Pp +The +.Nm +driver supports several media types, which are selected via the +.Xr ifconfig 8 +command. +The supported media types are: +.Bl -tag -width "media" -offset indent +.It media autoselect +Attempt to autoselect the media type (default) +.It media 1000baseT mediaopt full-duplex +Use 1000baseT on copper, full duplex +.It media 1000baseT Op mediaopt half-duplex +Use 1000baseT on copper, half duplex +.It media 100baseTX mediaopt full-duplex +Use 100baseTX, full duplex +.It media 100baseTX Op mediaopt half-duplex +Use 100baseTX, half duplex +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr ifmedia 4 , +.Xr inet 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr rgephy 4 , +.Xr hostname.if 5 , +.Xr ifconfig 8 +.Sh HISTORY +.Ox +support for +.Nm +first appeared in +.Ox 6.2 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Patrick Wildt Aq Mt patrick@openbsd.org . -- 2.20.1