CVSROOT: /cvs Module name: src Changes by: jake...@cvs.openbsd.org 2011/02/04 01:21:39
Modified files: sys/dev/usb : usb.c usbdi.h Log message: * 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. ok miod@