summaryrefslogtreecommitdiff
path: root/usr/src/man/man9f/usb_get_status.9f
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man9f/usb_get_status.9f')
-rw-r--r--usr/src/man/man9f/usb_get_status.9f37
1 files changed, 8 insertions, 29 deletions
diff --git a/usr/src/man/man9f/usb_get_status.9f b/usr/src/man/man9f/usb_get_status.9f
index 0d5d18231d..fbb87453be 100644
--- a/usr/src/man/man9f/usb_get_status.9f
+++ b/usr/src/man/man9f/usb_get_status.9f
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH usb_get_status 9F "5 Jan 2004" "SunOS 5.11" "Kernel Functions for Drivers"
+.TH USB_GET_STATUS 9F "Jan 5, 2004"
.SH NAME
usb_get_status \- Get status of a USB device/endpoint/interface
.SH SYNOPSIS
@@ -14,7 +14,7 @@ usb_get_status \- Get status of a USB device/endpoint/interface
\fBint\fR \fBusb_get_status\fR(\fBdev_info_t *\fR\fIdip\fR, \fBusb_pipe_handle_t\fR \fIpipe_handle\fR,
- \fBuint_t\fR \fIrequest_type\fR, \fBuint_t\fR \fIwhich\fR, \fBuint16_t *\fR\fIstatus\fR,
+ \fBuint_t\fR \fIrequest_type\fR, \fBuint_t\fR \fIwhich\fR, \fBuint16_t *\fR\fIstatus\fR,
\fBusb_flags_t\fR \fIflags\fR);
.fi
@@ -25,34 +25,28 @@ Solaris DDI specific (Solaris DDI)
.SH PARAMETERS
.sp
.ne 2
-.mk
.na
\fB\fIdip\fR\fR
.ad
.RS 16n
-.rt
Pointer to device's dev_info structure.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIpipe_handle\fR\fR
.ad
.RS 16n
-.rt
Default control pipe handle on which request is made.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIrequest_type\fR\fR
.ad
.RS 16n
-.rt
bmRequestType. Either:
.sp
USB_DEV_REQ_RCPT_DEV \(em Get device status.
@@ -64,35 +58,29 @@ USB_DEV_REQ_RCPT_EP \(em Get endpoint status.
.sp
.ne 2
-.mk
.na
\fB\fIwhich\fR\fR
.ad
.RS 16n
-.rt
Device, interface or endpoint from which to get status. Either number of
interface or endpoint, or 0 if device status requested.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIstatus\fR\fR
.ad
.RS 16n
-.rt
Address into which the status is written.
.RE
.sp
.ne 2
-.mk
.na
\fB\fIflags\fR\fR
.ad
.RS 16n
-.rt
None are recognized.
.RE
@@ -121,45 +109,37 @@ requested and USB_IF_STATUS (zero) is returned.
.SH RETURN VALUES
.sp
.ne 2
-.mk
.na
\fBUSB_SUCCESS\fR
.ad
.RS 20n
-.rt
Status returned successfully in the status argument.
.RE
.sp
.ne 2
-.mk
.na
\fBUSB_INVALID_ARGS\fR
.ad
.RS 20n
-.rt
Status pointer and/or dip argument is NULL.
.RE
.sp
.ne 2
-.mk
.na
\fBUSB_INVALID_PIPE\fR
.ad
.RS 20n
-.rt
Pipe handle is NULL.
.RE
.sp
.ne 2
-.mk
.na
\fBUSB_FAILURE\fR
.ad
.RS 20n
-.rt
Status not returned successfully.
.RE
@@ -193,15 +173,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-ArchitecturePCI-based systems
+Architecture PCI-based systems
_
-Interface stabilityCommitted
+Interface stability Committed
.TE
.SH SEE ALSO