]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Move execution of event handlers into the probe and attach function so that
authorhselasky <hselasky@FreeBSD.org>
Fri, 24 Jun 2011 18:14:43 +0000 (18:14 +0000)
committerhselasky <hselasky@FreeBSD.org>
Fri, 24 Jun 2011 18:14:43 +0000 (18:14 +0000)
commita551321476aed54765a889e3b29a2a3781561950
tree443132deb74be98698052db9923aaf2643a6b93f
parent9fee05c0d9060f4a70a62c23c55eae9a40a1a153
- Move execution of event handlers into the probe and attach function so that
dynamically loaded device drivers get a chance to run their event hooks.

- Decouple the USB suspend and resume lock from witness. It produces some
false warnings due to reusing the lock name among multiple devices.

MFC after: 3 days
sys/dev/usb/usb_device.c
sys/dev/usb/usb_msctest.c