diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2011-02-05 18:10:45 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2011-02-05 18:10:45 +0000 |
commit | 5297b10a7d9912ed9f44f8f75487936ae5e4ab1c (patch) | |
tree | a76052f893e68b5968f34384423e42fe16bbb649 /regress/usr.bin | |
parent | d1d6ddc24641be41f6a4c4f0027877d244936dc2 (diff) |
* use usb_ref_{incr,decr,wait}() to avoid detaching the driver while a
process is still using the hardware.
* don't add timeout(9)s if the device is detached.
* add checks to see if the device has been detached before running
ioctls, timeouts, and tasks.
* use usb_wait_task() to wait for tasks to complete.
ok damien@
Diffstat (limited to 'regress/usr.bin')
0 files changed, 0 insertions, 0 deletions