CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2011/02/10 10:26:40
Modified files:
sys/dev/usb : if_rsu.c if_urtwn.c if_run.c if_otus.c
Log message:
now that usb_wait_task() is back, bring back recently reverted
changes:
* 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@