From fc4d427c1146888329d6e93b465805da45ab71b2 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 3 Jun 2012 17:01:21 +0000 Subject: [PATCH] Remove superfluous Pp. New sentence, new line. Remove trailing whitespace. --- share/man/man9/usbdi.9 | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/share/man/man9/usbdi.9 b/share/man/man9/usbdi.9 index d19e4d65888e..5a10177329d5 100644 --- a/share/man/man9/usbdi.9 +++ b/share/man/man9/usbdi.9 @@ -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 with a USB device. 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 product by a particular vendor. .\" .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 values: 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