summaryrefslogtreecommitdiff
path: root/etc/etc.hppa/Makefile
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2010-09-23 06:30:38 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2010-09-23 06:30:38 +0000
commitda6b92de342708b2bdb157300eb90cbbfff0d218 (patch)
tree86612b770d663a2c52ae543a3e9b10115eeb937b /etc/etc.hppa/Makefile
parent73f94e14178edec7b40dbd3bfb5feb42e13e28b2 (diff)
add two members to struct usb_task
* usbd_device_handle dev - the device responsible for the task. use this to not run the task if the device's hub is dying. * int running - a flag to be set when the task is running. add usb_rem_wait_task(), a wrapper for usb_rem_task() that waits for the task to complete if the task is already running. s/usb_rem_task/usb_rem_wait_task/ in usb_detach(). probably most drivers using usb_tasks should do this as well. although device attach/detach is serialized in normal cases, in the special case where the usb bus is hotpluggable (like cardbus/pcmcia), devices are not detached in the task thread.
Diffstat (limited to 'etc/etc.hppa/Makefile')
0 files changed, 0 insertions, 0 deletions