summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-05-24 05:47:16 +0000
committermpi <mpi@openbsd.org>2016-05-24 05:47:16 +0000
commitcf9ab6c3f379caa55ea1cd7cd8758288cd03b401 (patch)
tree55f6aab4d15fe4185069adf2440bbee6a257e9aa
parentKill unused ioctl(2)s. (diff)
downloadwireguard-openbsd-cf9ab6c3f379caa55ea1cd7cd8758288cd03b401.tar.xz
wireguard-openbsd-cf9ab6c3f379caa55ea1cd7cd8758288cd03b401.zip
USB_DISCOVER and USB_GET_STRING_DESC are no more.
ok deraadt@
-rw-r--r--share/man/man4/ugen.415
-rw-r--r--share/man/man4/usb.49
2 files changed, 4 insertions, 20 deletions
diff --git a/share/man/man4/ugen.4 b/share/man/man4/ugen.4
index d8beefd5719..b4da46e73ca 100644
--- a/share/man/man4/ugen.4
+++ b/share/man/man4/ugen.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ugen.4,v 1.16 2015/02/16 16:38:54 naddy Exp $
+.\" $OpenBSD: ugen.4,v 1.17 2016/05/24 05:47:16 mpi Exp $
.\" $NetBSD: ugen.4,v 1.7 1999/07/30 01:32:05 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: February 16 2015 $
+.Dd $Mdocdate: May 24 2016 $
.Dt UGEN 4
.Os
.Sh NAME
@@ -216,17 +216,6 @@ and inspecting the
.Fa wTotalLength
field.
.Pp
-.It Dv USB_GET_STRING_DESC (struct usb_string_desc)
-Get a string descriptor for the given language id and
-string index.
-.Bd -literal
-struct usb_string_desc {
- int usd_string_index;
- int usd_language_id;
- usb_string_descriptor_t usd_desc;
-};
-.Ed
-.Pp
.It Dv USB_DO_REQUEST
Send a USB request to the device on the control endpoint.
Any data sent to/from the device is located at
diff --git a/share/man/man4/usb.4 b/share/man/man4/usb.4
index 33c5e88f491..69db1c063a1 100644
--- a/share/man/man4/usb.4
+++ b/share/man/man4/usb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usb.4,v 1.173 2016/02/02 17:06:31 visa Exp $
+.\" $OpenBSD: usb.4,v 1.174 2016/05/24 05:47:16 mpi 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: February 2 2016 $
+.Dd $Mdocdate: May 24 2016 $
.Dt USB 4
.Os
.Sh NAME
@@ -411,11 +411,6 @@ The following
.Xr ioctl 2
commands are supported on the controller device:
.Bl -tag -width xxxxxx
-.\" .It Dv USB_DISCOVER
-.\" This command will cause a complete bus discovery to be initiated.
-.\" If any devices attached or detached from the bus they will be
-.\" processed during this command.
-.\" This is the only way that new devices are found on the bus.
.It Dv USB_DEVICEINFO (struct usb_device_info *)
This command can be used to retrieve some information about a device
on the bus.