Module Name: src Committed By: mrg Date: Fri Dec 9 01:53:00 UTC 2011
Modified Files: src/sys/dev/pci [jmcneill-usbmp]: ehci_pci.c ohci_pci.c uhci_pci.c src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uaudio.c uhci.c umidi.c usb.c usb_subr.c usbdi.c usbdivar.h Log Message: - make pipe->close method take the thread lock - convert usb_taskq to use mutex/cv - convert needs_explore usage into a cv on the thread lock - remove KERNEL_*LOCK from uaudio and umidi, since we're supposedly MPSAFE here now - use IPL_SCHED instead of IPL_USB (aka biglocked) interrupts - drop the audio thread lock when calling into usb when it may sleep, avoiding a deadlock between audiowrite and audioioctl. this fixes mixerctl -a vs. playing hanging the system XXX probably need to check this in a bunch more places. To generate a diff of this commit: cvs rdiff -u -r1.53.6.1 -r1.53.6.2 src/sys/dev/pci/ehci_pci.c cvs rdiff -u -r1.47 -r1.47.8.1 src/sys/dev/pci/ohci_pci.c cvs rdiff -u -r1.53 -r1.53.8.1 src/sys/dev/pci/uhci_pci.c cvs rdiff -u -r1.181.6.4 -r1.181.6.5 src/sys/dev/usb/ehci.c cvs rdiff -u -r1.218.6.7 -r1.218.6.8 src/sys/dev/usb/ohci.c cvs rdiff -u -r1.124 -r1.124.2.1 src/sys/dev/usb/uaudio.c cvs rdiff -u -r1.240.6.5 -r1.240.6.6 src/sys/dev/usb/uhci.c cvs rdiff -u -r1.53 -r1.53.2.1 src/sys/dev/usb/umidi.c cvs rdiff -u -r1.125.6.4 -r1.125.6.5 src/sys/dev/usb/usb.c cvs rdiff -u -r1.180.6.2 -r1.180.6.3 src/sys/dev/usb/usb_subr.c cvs rdiff -u -r1.134.2.4 -r1.134.2.5 src/sys/dev/usb/usbdi.c cvs rdiff -u -r1.93.8.3 -r1.93.8.4 src/sys/dev/usb/usbdivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.