summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2013-05-02 20:16:51 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2013-05-02 20:16:51 +0000
commitff34146016b881fe9e8e0287813de1ce2ff33d2a (patch)
tree65c87bf97d07b6920a22c938b80b2599a321236a
parent5d4f206377cd9667b5f571f9683598bf044cb81f (diff)
Unify ioctl arguments and add missing pointer signs.
-rw-r--r--share/man/man4/usb.416
1 files changed, 8 insertions, 8 deletions
diff --git a/share/man/man4/usb.4 b/share/man/man4/usb.4
index dbf60ad39e6..8899ea057c3 100644
--- a/share/man/man4/usb.4
+++ b/share/man/man4/usb.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: usb.4,v 1.138 2013/04/17 11:53:10 mglocker Exp $
+.\" $OpenBSD: usb.4,v 1.139 2013/05/02 20:16:50 mglocker 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: April 17 2013 $
+.Dd $Mdocdate: May 2 2013 $
.Dt USB 4
.Os
.Sh NAME
@@ -399,7 +399,7 @@ commands are supported on the controller device:
.\" 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 Fa "struct usb_device_info *"
+.It Dv USB_DEVICEINFO (struct usb_device_info *)
This command can be used to retrieve some information about a device
on the bus.
The
@@ -494,7 +494,7 @@ field contains the addresses of the connected devices.
If no device is connected to a port, one of the
.Dv USB_PORT_*
values indicates its status.
-.It Dv USB_DEVICESTATS Fa "struct usb_device_stats *"
+.It Dv USB_DEVICESTATS (struct usb_device_stats *)
This command retrieves statistics about the controller.
.Bd -unfilled
struct usb_device_stats {
@@ -508,7 +508,7 @@ field is indexed by the transfer kind, i.e.\&
.Dv UE_* ,
and indicates how many transfers of each kind have been completed
by the controller.
-.It Dv USB_DEVICE_GET_DDESC (struct usb_device_ddesc)
+.It Dv USB_DEVICE_GET_DDESC (struct usb_device_ddesc *)
This command can be used to retrieve the device descriptor
of a device on the bus.
The
@@ -529,7 +529,7 @@ field contains the device unit number.
The
.Va udd_desc
field contains the device descriptor structure.
-.It Dv USB_DEVICE_GET_CDESC (struct usb_device_cdesc)
+.It Dv USB_DEVICE_GET_CDESC (struct usb_device_cdesc *)
This command can be used to retrieve the configuration descriptor for the
given configuration of a device on the bus.
The
@@ -557,7 +557,7 @@ field contains the device unit number.
The
.Va udc_desc
field contains the configuration descriptor structure.
-.It Dv USB_DEVICE_GET_FDESC (struct usb_device_fdesc)
+.It Dv USB_DEVICE_GET_FDESC (struct usb_device_fdesc *)
This command can be used to retrieve all descriptors for the
given configuration of a device on the bus.
The
@@ -596,7 +596,7 @@ field contains the device unit number.
The
.Va udf_data
field contains all descriptors.
-.It Dv USB_REQUEST Fa "struct usb_ctl_request *"
+.It Dv USB_REQUEST (struct usb_ctl_request *)
This command can be used to execute arbitrary requests on the control pipe.
This is
.Em DANGEROUS