summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/ugen.420
1 files changed, 10 insertions, 10 deletions
diff --git a/share/man/man4/ugen.4 b/share/man/man4/ugen.4
index 5a6a6d0..f16606a 100644
--- a/share/man/man4/ugen.4
+++ b/share/man/man4/ugen.4
@@ -145,7 +145,7 @@ is the sole open endpoint.
Get the alternative setting number for the interface with the given
index.
The
-.Va config_index
+.Va uai_config_index
is ignored in this call.
.Bd -literal
struct usb_alt_interface {
@@ -158,14 +158,14 @@ struct usb_alt_interface {
Set the alternative setting to the given number in the interface with the
given index.
The
-.Va config_index
+.Va uai_config_index
is ignored in this call.
.Pp
This operation can only be performed when no endpoints for the interface
are open.
.It Dv USB_GET_NO_ALT Pq Vt "struct usb_alt_interface"
Return the number of different alternate settings in the
-.Va alt_no
+.Va uai_alt_no
field.
.It Dv USB_GET_DEVICE_DESC Pq Vt usb_device_descriptor_t
Return the device descriptor.
@@ -215,9 +215,9 @@ struct usb_full_desc {
};
.Ed
The
-.Va data
+.Va ufd_data
field should point to a memory area of the size given in the
-.Va size
+.Va ufd_size
field.
The proper size can be determined by first issuing a
.Dv USB_GET_CONFIG_DESC
@@ -237,17 +237,17 @@ struct usb_string_desc {
.It Dv USB_DO_REQUEST Pq Vt "struct usb_ctl_request"
Send a USB request to the device on the control endpoint.
Any data sent to/from the device is located at
-.Va data .
+.Va ucr_data .
The size of the transferred data is determined from the
-.Va request .
+.Va ucr_request .
The
-.Va addr
+.Va ucr_addr
field is ignored in this call.
The
-.Va flags
+.Va ucr_flags
field can be used to flag that the request is allowed to
be shorter than the requested size, and the
-.Va actlen
+.Va ucr_actlen
will contain the actual size on completion.
.Bd -literal
struct usb_ctl_request {
OpenPOWER on IntegriCloud