summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2003-09-24 04:53:50 +0000
committerjb <jb@FreeBSD.org>2003-09-24 04:53:50 +0000
commit7a796865c52ca206987e3057a35317ad3ee36c25 (patch)
treef69788c2c75c197eea0d255b76d02823efa95c56 /share
parent226a2c2049d530c5ec20a26652d369bf8e77ea31 (diff)
downloadFreeBSD-src-7a796865c52ca206987e3057a35317ad3ee36c25.zip
FreeBSD-src-7a796865c52ca206987e3057a35317ad3ee36c25.tar.gz
Make the field names in the documented structures match dev/usb/usb.h.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/ugen.450
1 files changed, 25 insertions, 25 deletions
diff --git a/share/man/man4/ugen.4 b/share/man/man4/ugen.4
index 0a90e8c..5a6a6d0 100644
--- a/share/man/man4/ugen.4
+++ b/share/man/man4/ugen.4
@@ -149,9 +149,9 @@ The
is ignored in this call.
.Bd -literal
struct usb_alt_interface {
- int config_index;
- int interface_index;
- int alt_no;
+ int uai_config_index;
+ int uai_interface_index;
+ int uai_alt_no;
};
.Ed
.It Dv USB_SET_ALTINTERFACE Pq Vt "struct usb_alt_interface"
@@ -175,8 +175,8 @@ For convenience the current configuration can be specified by
.Dv USB_CURRENT_CONFIG_INDEX .
.Bd -literal
struct usb_config_desc {
- int config_index;
- usb_config_descriptor_t desc;
+ int ucd_config_index;
+ usb_config_descriptor_t ucd_desc;
};
.Ed
.It Dv USB_GET_INTERFACE_DESC Pq Vt "struct usb_interface_desc"
@@ -186,10 +186,10 @@ For convenience the current alternative can be specified by
.Dv USB_CURRENT_ALT_INDEX .
.Bd -literal
struct usb_interface_desc {
- int config_index;
- int interface_index;
- int alt_index;
- usb_interface_descriptor_t desc;
+ int uid_config_index;
+ int uid_interface_index;
+ int uid_alt_index;
+ usb_interface_descriptor_t uid_desc;
};
.Ed
.It Dv USB_GET_ENDPOINT_DESC Pq Vt "struct usb_endpoint_desc"
@@ -198,20 +198,20 @@ configuration index, interface index, alternative index, and
endpoint index.
.Bd -literal
struct usb_endpoint_desc {
- int config_index;
- int interface_index;
- int alt_index;
- int endpoint_index;
- usb_endpoint_descriptor_t desc;
+ int ued_config_index;
+ int ued_interface_index;
+ int ued_alt_index;
+ int ued_endpoint_index;
+ usb_endpoint_descriptor_t ued_desc;
};
.Ed
.It Dv USB_GET_FULL_DESC Pq Vt "struct usb_full_desc"
Return all the descriptors for the given configuration.
.Bd -literal
struct usb_full_desc {
- int config_index;
- u_int size;
- u_char *data;
+ int ufd_config_index;
+ u_int ufd_size;
+ u_char *ufd_data;
};
.Ed
The
@@ -229,9 +229,9 @@ Get a string descriptor for the given language ID and
string index.
.Bd -literal
struct usb_string_desc {
- int string_index;
- int language_id;
- usb_string_descriptor_t desc;
+ int usd_string_index;
+ int usd_language_id;
+ usb_string_descriptor_t usd_desc;
};
.Ed
.It Dv USB_DO_REQUEST Pq Vt "struct usb_ctl_request"
@@ -251,12 +251,12 @@ be shorter than the requested size, and the
will contain the actual size on completion.
.Bd -literal
struct usb_ctl_request {
- int addr;
- usb_device_request_t request;
- void *data;
- int flags;
+ int ucr_addr;
+ usb_device_request_t ucr_request;
+ void *ucr_data;
+ int ucr_flags;
#define USBD_SHORT_XFER_OK 0x04 /* allow short reads */
- int actlen; /* actual length transferred */
+ int ucr_actlen; /* actual length transferred */
};
.Ed
This is a dangerous operation in that it can perform arbitrary operations
OpenPOWER on IntegriCloud