summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2010-03-01 23:35:57 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2010-03-01 23:35:57 +0000
commit49e1733747bd6981f6a910e48bdb08dd22a203d9 (patch)
tree6ab2caf8b10f96601f5de29ac7793d1679f60700 /share
parentf85ddbed645690840d94d0c6f85ff9f9db230311 (diff)
Add urndis(4), a driver for RNDIS Ethernet over USB.
It provides an Ethernet transport typically over EDGE or 3G on cellphones similar to what cdce(4) does on other phones. It is likely to work with most of HTC's recent and coming Android based phones but a bunch of other things (phones in particular) may use it. Started by me; brought to a working state by Jonathan Armani and Fabien Romano over the past week, with some input and additions from me. Tested on i386 and macppc by me (HTC Hero), amd64 by Jonathan and Fabien (HTC Hero), and by gilles@ (HTC Magic) on i386 or amd64. It still has a few kinks to work out, but it works well enough that I can commit this over my HTC Hero. `commit it!' deraadt
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/urndis.479
-rw-r--r--share/man/man4/usb.46
3 files changed, 85 insertions, 4 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 4ab55c385e2..0433022c819 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.503 2010/03/01 07:59:16 yuo Exp $
+# $OpenBSD: Makefile,v 1.504 2010/03/01 23:35:56 mk Exp $
MAN= aac.4 ac97.4 acphy.4 \
acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \
@@ -58,7 +58,7 @@ MAN= aac.4 ac97.4 acphy.4 \
uipaq.4 uk.4 ukbd.4 \
ukphy.4 ulpt.4 umass.4 umbg.4 umct.4 umidi.4 umodem.4 ums.4 umsm.4 \
unix.4 uow.4 upgt.4 upl.4 uplcom.4 ural.4 urio.4 url.4 urlphy.4 \
- urtw.4 usb.4 usbf.4 uscanner.4 uslcom.4 usscanner.4 uthum.4 \
+ urndis.4 urtw.4 usb.4 usbf.4 uscanner.4 uslcom.4 usscanner.4 uthum.4 \
uticom.4 utrh.4 uts.4 uvideo.4 uvisor.4 uvscom.4 uyap.4 uyurex.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 \
diff --git a/share/man/man4/urndis.4 b/share/man/man4/urndis.4
new file mode 100644
index 00000000000..be0df559bb6
--- /dev/null
+++ b/share/man/man4/urndis.4
@@ -0,0 +1,79 @@
+.\" Copyright (c) 2010 Michael Knudsen <mk@openbsd.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\"
+.\" - Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" - Redistributions in binary form must reproduce the above
+.\" copyright notice, this list of conditions and the following
+.\" disclaimer in the documentation and/or other materials provided
+.\" with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+.\" "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+.\" ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+.\" POSSIBILITY OF SUCH DAMAGE.
+.\"
+.\" $OpenBSD: urndis.4,v 1.1 2010/03/01 23:35:56 mk Exp $
+.\"
+.Dd $Mdocdate: March 1 2010 $
+.Dt URNDIS 4
+.Os
+.Sh NAME
+.Nm urndis
+.Nd USB Remote NDIS Ethernet
+.Sh SYNOPSIS
+.Cd "urndis* at uhub?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for Ethernet access over Remote NDIS.
+The
+.Nm
+driver should work with all USB RNDIS devices, but the following devices are
+known to work:
+.Pp
+.Bl -bullet -compact -offset indent
+.It
+HTC Hero
+.It
+HTC Magic
+.El
+.Pp
+The
+.Nm
+driver does not support different media types or options.
+For more information on configuring this device, see
+.Xr ifconfig 8 .
+.Sh SEE ALSO
+.Xr arp 4 ,
+.Xr intro 4 ,
+.Xr netintro 4 ,
+.Xr usb 4 ,
+.Xr hostname.if 5 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+device driver first appeared in
+.Ox 4.7 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Jonathan Armani Aq dbd@asystant.net ,
+.An Michael Knudsen Aq mk@openbsd.org ,
+and
+.An Fabien Romano Aq fromano@asystant.net .
diff --git a/share/man/man4/usb.4 b/share/man/man4/usb.4
index ec5610b9ff3..7c7a0d4db06 100644
--- a/share/man/man4/usb.4
+++ b/share/man/man4/usb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usb.4,v 1.117 2009/12/18 05:58:15 jmc Exp $
+.\" $OpenBSD: usb.4,v 1.118 2010/03/01 23:35:56 mk Exp $
.\" $NetBSD: usb.4,v 1.15 1999/07/29 14:20:32 augustss Exp $
.\"
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: December 18 2009 $
+.Dd $Mdocdate: March 1 2010 $
.Dt USB 4
.Os
.Sh NAME
@@ -137,6 +137,8 @@ Davicom DM9601 10/100 USB Ethernet device
Analog Devices Eagle ADSL modems
.It Xr url 4
Realtek RTL8150L 10/100 USB Ethernet device
+.It Xr urndis 4
+Remote NDIS Ethernet device
.El
.Ss Wireless network interfaces
.Bl -tag -width 12n -offset ind -compact