Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 Remove superfluous Pp. New sentence, new line...
details: https://anonhg.NetBSD.org/src/rev/9edac473b4f5
branches: trunk
changeset: 779572:9edac473b4f5
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Jun 03 17:01:21 2012 +0000
description:
Remove superfluous Pp. New sentence, new line. Remove trailing whitespace.
diffstat:
share/man/man9/usbdi.9 | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diffs (76 lines):
diff -r 8db0b9c4955b -r 9edac473b4f5 share/man/man9/usbdi.9
--- a/share/man/man9/usbdi.9 Sun Jun 03 16:46:08 2012 +0000
+++ b/share/man/man9/usbdi.9 Sun Jun 03 17:01:21 2012 +0000
@@ -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 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 @@
.\" .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 @@
.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 @@
.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 @@
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 @@
.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
Home |
Main Index |
Thread Index |
Old Index