CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/09/22 23:44:16
Modified files:
sys/dev/usb : uhub.c usb.c usbdi.c usbdivar.h
Log message:
add a 'dying' flag to struct usbd_bus. use this to signify the bus
is dying, instead of setting a flag in struct usb_softc. as
usbd_device_handle has a pointer to the usbd_bus it's attached to,
usb devices, and functions they run or functions run on their behalf,
can now easily check if their bus is dying. use this to stop
usbd_do_request* from running and the usb task thread from adding
new tasks when a device's bus is dying.