From a0d4c1a1406f0e2e85a7fce8986dbdca97aeffca Mon Sep 17 00:00:00 2001 From: kettenis Date: Sat, 13 Aug 2016 20:51:48 +0000 Subject: [PATCH] dwge(4) --- share/man/man4/Makefile | 4 +- share/man/man4/dwge.4 | 81 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+), 2 deletions(-) create mode 100644 share/man/man4/dwge.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 4ec5707fdfa..8b1a965d77b 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.630 2016/08/10 14:27:16 deraadt Exp $ +# $OpenBSD: Makefile,v 1.631 2016/08/13 20:51:48 kettenis Exp $ MAN= aac.4 ac97.4 acphy.4 \ acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \ @@ -19,7 +19,7 @@ MAN= aac.4 ac97.4 acphy.4 \ cac.4 cas.4 cardbus.4 carp.4 cd.4 cdce.4 cdcef.4 cfxga.4 \ ch.4 chvgpio.4 ciphy.4 ciss.4 clcs.4 clct.4 cmpci.4 cnw.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 dwiic.4 \ + diskmap.4 divert.4 dpt.4 drm.4 dwctwo.4 dwge.4 dwiic.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/dwge.4 b/share/man/man4/dwge.4 new file mode 100644 index 00000000000..3c16987cc5c --- /dev/null +++ b/share/man/man4/dwge.4 @@ -0,0 +1,81 @@ +.\" $OpenBSD: dwge.4,v 1.1 2016/08/13 20:51:48 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: August 13 2016 $ +.Dt DWGE 4 +.Os +.Sh NAME +.Nm dwge +.Nd Designware GMAC 10/100/Gigabit Ethernet device +.Sh SYNOPSIS +.Cd "dwge* at fdt?" +.Cd "rgephy*" at mii? +.Sh DESCRIPTION +The +.Nm +driver provides support for various Ethernet controllers based on the +Synopsis Designware GMAC core. +These controllers are typically found on SoCs, such as the various ARM +SoCs from Allwinner, starting with the Allwinner A20. +.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.1 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Matt Thomas +and +.An Martin Husemann +for +.Nx +and ported to +.Ox +by +.An Patrick Wildt Aq Mt patrick@openbsd.org +and +.An Mark Kettenis Aq Mt kettenis@openbsd.org . -- 2.20.1