CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/12/29 22:22:51
Modified files:
sys/dev/usb : if_run.c if_rum.c if_urtw.c if_ral.c
Log message:
* do not add timeouts if the driver is dying
* use usbd_ref_{incr,decr,wait} to not detach while another process/thread
is using the driver
* s/usb_rem_task/usb_rem_wait_task/ in detach functions because detach
doesn't always happen in the task thread; otherwise a task could be
running while the driver detaches
* in detach functions, first delete pending timeouts, then wait for
processes to be done with the driver before freeing resources
ok martynas@