Module Name: src
Committed By: wiz
Date: Sun Jun 3 17:01:22 UTC 2012
Modified Files:
src/share/man/man9: usbdi.9
Log Message:
Remove superfluous Pp. New sentence, new line. Remove trailing whitespace.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/share/man/man9/usbdi.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man9/usbdi.9
diff -u src/share/man/man9/usbdi.9:1.21 src/share/man/man9/usbdi.9:1.22
--- src/share/man/man9/usbdi.9:1.21 Sun Jun 3 02:56:36 2012
+++ src/share/man/man9/usbdi.9 Sun Jun 3 17:01:21 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: usbdi.9,v 1.21 2012/06/03 02:56:36 mrg Exp $
+.\" $NetBSD: usbdi.9,v 1.22 2012/06/03 17:01:21 wiz Exp $
.\"
.\" Copyright (c) 2012 Matthew R. Green
.\" All rights reserved.
@@ -285,7 +285,7 @@ A transfer describes a communication wit
A transfer is an abstract concept that can result in several
physical packets being transferred to or from a device.
A transfer is described by the
-.Va usbd_xfer_handle
+.Va usbd_xfer_handle
cookie.
A pipe is a logical connection to a USB device.
It is described by the
@@ -478,7 +478,6 @@ macro can be used to match any USB produ
.\" .Fn usbd_set_config_index "usbd_device_handle dev" "int index" "int msg"
.\" .Ft usbd_status
.\"
-.Pp
.Sh PIPES
Pipes are created and destroyed by using the
.Fn usbd_open_pipe ,
@@ -514,7 +513,6 @@ may be set to
.Dv USBD_DEFAULT_INTERVAL
use the default interval, specified by the ep. description.
It is common to have more than one pipe per device.
-.Pp
.Sh TRANSFERS
Transfers are allocated and deallocated with
.Fn usbd_alloc_xfer
@@ -679,7 +677,8 @@ section, and then
.Fa data
is a buffer containing the data
.\" (if any)????
-for the request. For the
+for the request.
+For the
.Fn usbd_do_request_flags
function there are additional
.Fa flags
@@ -882,9 +881,9 @@ member may be one of the following value
There are two functions available to ease the detach of active devices.
Typically a reference count is maintained on syscall activity.
When a USB device is to be detached, the reference count should be
-decremented and if it is greater or equal to zero,
+decremented and if it is greater or equal to zero,
.Fn usb_detach_wait
-should be called on the
+should be called on the
.Ft dv
associated with this USB device and, typically, a device-specific
condition variable
@@ -899,16 +898,16 @@ must be called on the
.Ft dv
and
.Fa cv
-that is being waited on with
+that is being waited on with
.Fn usb_detach_wait .
.Pp
These functions are only available with the USB SMP code.
.Pp
The are another pair of functions with similar functionality that do not
use a condition variable or mutex and should be avoided in new code.
-The
+The
.Fn usb_detach_waitold
-function works like
+function works like
.Fn usb_detach_wait ,
and the
.Fn usb_detach_wakeupold