diff options
author | 2011-02-09 20:24:39 +0000 | |
---|---|---|
committer | 2011-02-09 20:24:39 +0000 | |
commit | ecbe283565f952612d442dce1b063cf763a8e847 (patch) | |
tree | d701743cf265448433b29dbe59d8c25cb25ec3aa /share/man/man7 | |
parent | fix an unbalanced parenthesis in a comment; while here, split the comment (diff) | |
download | wireguard-openbsd-ecbe283565f952612d442dce1b063cf763a8e847.tar.xz wireguard-openbsd-ecbe283565f952612d442dce1b063cf763a8e847.zip |
bring back changes in usb.c revision 1.73
date: 2011/02/04 08:21:39; author: jakemsr; state: Exp; lines: +85 -34
* merge 'onqueue' and 'running' members of struct usb_task into
a new member, 'state'.
* add new function 'usb_wait_task()', which waits for queued or running
usb_tasks to complete.
* in the USB_DEVICEINFO ioctl, fill struct usb_device_info in a
usb_task, thereby avoiding races against driver attach/detach.
but this time make the state a bitmask, since it is valid to be added
to the task queue while the task is running. also be more careful
about waking up the task when state changes.
ok miod@
Diffstat (limited to 'share/man/man7')
0 files changed, 0 insertions, 0 deletions