diff options
author | Kevin Lo <kevlo@cvs.openbsd.org> | 2011-01-15 04:35:35 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@cvs.openbsd.org> | 2011-01-15 04:35:35 +0000 |
commit | 9d5a6edf9401fddb810be5c0aaee5c1b8e631b7c (patch) | |
tree | eb134e55d961951527b5afc54dff04a80f90838e /share | |
parent | db58922e2754fcbd760702366a7a6983e9b6f364 (diff) |
Add drivers for the RDC R6040 Ethernet chipset
and RDC R6040 Ethernet PHY.
Written by Pyun YongHyeon for FreeBSD then
ported to OpenBSD by me.
Thanks once again to DMP for supplying hardware
which made this possible.
ok deraadt@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/Makefile | 6 | ||||
-rw-r--r-- | share/man/man4/mii.4 | 6 | ||||
-rw-r--r-- | share/man/man4/pci.4 | 6 | ||||
-rw-r--r-- | share/man/man4/rdcphy.4 | 33 | ||||
-rw-r--r-- | share/man/man4/vte.4 | 83 |
5 files changed, 127 insertions, 7 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 52e28c32226..c1eb81a1abf 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.518 2010/12/11 20:48:21 damien Exp $ +# $OpenBSD: Makefile,v 1.519 2011/01/15 04:35:34 kevlo Exp $ MAN= aac.4 ac97.4 acphy.4 \ acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \ @@ -43,7 +43,7 @@ MAN= aac.4 ac97.4 acphy.4 \ pcfiic.4 pciide.4 pckbc.4 pckbd.4 pcmcia.4 pcn.4 pcppi.4 pcscp.4 \ pf.4 pflog.4 pflow.4 pfsync.4 pgt.4 piixpm.4 pim.4 \ pms.4 ppb.4 ppp.4 pppoe.4 pty.4 puc.4 pwdog.4 qsphy.4 radio.4 raid.4 \ - ral.4 random.4 ray.4 rd.4 re.4 rgephy.4 ricohrtc.4 \ + ral.4 random.4 ray.4 rd.4 re.4 rdcphy.4 rgephy.4 ricohrtc.4 \ rl.4 rlphy.4 route.4 rsu.4 rt.4 rum.4 run.4 \ rtfps.4 rtii.4 rtw.4 safe.4 safte.4 san.4 sbt.4 sbus.4 schsio.4 \ scsi.4 sd.4 \ @@ -63,7 +63,7 @@ MAN= aac.4 ac97.4 acphy.4 \ uticom.4 utrh.4 uts.4 uvideo.4 uvisor.4 uvscom.4 uyap.4 utwitch.4 \ vether.4 vga.4 vgafb.4 vge.4 \ viaenv.4 viapm.4 viasio.4 vic.4 video.4 vlan.4 vmt.4 vnd.4 vr.4 \ - vscsi.4 \ + vscsi.4 vte.4 \ watchdog.4 wb.4 wbenv.4 wbng.4 wbsd.4 wbsio.4 wd.4 wdc.4 we.4 \ wi.4tbl wpi.4 wscons.4 wsdisplay.4 wskbd.4 wsmouse.4 wsmux.4 \ xe.4 xf86.4 xge.4 xl.4 xmphy.4 yds.4 ym.4 zero.4 zyd.4 diff --git a/share/man/man4/mii.4 b/share/man/man4/mii.4 index f80e80f987f..45d27fa8bc0 100644 --- a/share/man/man4/mii.4 +++ b/share/man/man4/mii.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mii.4,v 1.28 2008/09/26 21:39:34 brad Exp $ +.\" $OpenBSD: mii.4,v 1.29 2011/01/15 04:35:34 kevlo Exp $ .\" $NetBSD: mii.4,v 1.1 1998/11/04 05:21:50 thorpej Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 26 2008 $ +.Dd $Mdocdate: January 15 2011 $ .Dt MII 4 .Os .Sh NAME @@ -59,6 +59,7 @@ .Cd "nsphy* at mii?" .Cd "nsphyter* at mii?" .Cd "qsphy* at mii?" +.Cd "rdcphy* at mii?" .Cd "rgephy* at mii?" .Cd "rlphy* at mii?" .Cd "sqphy* at mii?" @@ -126,6 +127,7 @@ program. .Xr nsphy 4 , .Xr nsphyter 4 , .Xr qsphy 4 , +.Xr rdcphy 4 , .Xr rgephy 4 , .Xr rlphy 4 , .Xr sqphy 4 , diff --git a/share/man/man4/pci.4 b/share/man/man4/pci.4 index 2f57f50c275..b12262c98f5 100644 --- a/share/man/man4/pci.4 +++ b/share/man/man4/pci.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: pci.4,v 1.300 2010/09/04 13:34:59 jmc Exp $ +.\" $OpenBSD: pci.4,v 1.301 2011/01/15 04:35:34 kevlo Exp $ .\" $NetBSD: pci.4,v 1.29 2000/04/01 00:32:23 tsarna Exp $ .\" .\" Copyright (c) 2000 Theo de Raadt. All rights reserved. @@ -31,7 +31,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: September 4 2010 $ +.Dd $Mdocdate: January 15 2011 $ .Dt PCI 4 .Os .Sh NAME @@ -264,6 +264,8 @@ VMware VMXnet Virtual Interface Controller device VIA VT6122 PCI 10/100/Gigabit Ethernet device .It Xr vr 4 VIA VT3043/VT86C100A/VT6105/VT6105M 10/100 Ethernet device +.It Xr vte 4 +RDC R6040 10/100 Ethernet device .It Xr wb 4 Winbond W89C840F 10/100 Ethernet device .It Xr xge 4 diff --git a/share/man/man4/rdcphy.4 b/share/man/man4/rdcphy.4 new file mode 100644 index 00000000000..02d809f2cd8 --- /dev/null +++ b/share/man/man4/rdcphy.4 @@ -0,0 +1,33 @@ +.\" $OpenBSD: rdcphy.4,v 1.1 2011/01/15 04:35:34 kevlo Exp $ +.\" +.\" Copyright (c) 2011 Kevin Lo <kevlo@openbsd.org> +.\" +.\" 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: January 15 2011 $ +.Dt RDCPHY 4 +.Os +.Sh NAME +.Nm rdcphy +.Nd RDC Semiconductor R6040 10/100 Ethernet PHY +.Sh SYNOPSIS +.Cd "rdcphy* at mii?" +.Sh DESCRIPTION +The +.Nm +driver supports the RDC Semiconductor R6040 10/100 Ethernet PHY. +.Sh SEE ALSO +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr ifconfig 8 diff --git a/share/man/man4/vte.4 b/share/man/man4/vte.4 new file mode 100644 index 00000000000..820759ce897 --- /dev/null +++ b/share/man/man4/vte.4 @@ -0,0 +1,83 @@ +.\" $OpenBSD: vte.4,v 1.1 2011/01/15 04:35:34 kevlo Exp $ +.\" +.\" Copyright (c) 2011 Kevin Lo <kevlo@openbsd.org> +.\" +.\" 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: January 15 2011 $ +.Dt VTE 4 +.Os +.Sh NAME +.Nm vte +.Nd RDC R6040 10/100 Ethernet device +.Sh SYNOPSIS +.Cd "vte* at pci?" +.Cd "rdcphy* at mii?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Ethernet interfaces based on the +RDC R6040 Ethernet chipset which is commonly found on +Vortex86 System On a Chip (SoC). +.Pp +The +.Nm +driver supports interrupt moderation mechanism, a 64-bit multicast +hash filter. +.Pp +The following +.Ar media +types are supported: +.Pp +.Bl -tag -width autoselect -compact +.It Cm autoselect +Enable autoselection of the media type and options. +.It Cm 10baseT +Set 10Mbps operation. +.It Cm 100baseTX +Set 100Mbps (Fast Ethernet) operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +To view a list of media types and options supported by the card, try +.Ic ifconfig <device> media . +For example, +.Ic ifconfig vte0 media . +.Sh SEE ALSO +.Xr arp 4 , +.Xr rdcphy 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr hostname.if 5 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 4.8 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Pyun YongHyeon +for +.Fx +and ported to +.Ox +by +.An Kevin Lo +.Aq kevlo@openbsd.org . |