Module Name: src Committed By: snj Date: Sat Mar 21 17:30:43 UTC 2015
Modified Files: src/sys/dev/usb [netbsd-7]: TODO.usbmp uatp.c ucycom.c uhid.c uhidev.c uhidev.h ukbd.c uyurex.c Log Message: Pull up following revision(s) (requested by mrg in ticket #626): sys/dev/usb/TODO.usbmp: revision 1.9 sys/dev/usb/uatp.c: revision 1.11 sys/dev/usb/ucycom.c: revision 1.42 sys/dev/usb/uhid.c: revision 1.93, 1.94 sys/dev/usb/uhidev.c: revision 1.63 sys/dev/usb/uhidev.h: revision 1.17 sys/dev/usb/ukbd.c: revision 1.130 sys/dev/usb/uyurex.c: revision 1.10 properly protect uhid's sc_q member with sc_lock. should fix PR#49728. while here, remove D_MPSAFE from uhid* and all uhid users, as it really needs all the callers to be safe and they're not. -- don't take the device lock when stopping the uhidev. that calls to abort and close pipes, both of which may take an adaptive lock. fixes a LOCKDEBUG abort see on one particular machine. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.8.2.1 src/sys/dev/usb/TODO.usbmp cvs rdiff -u -r1.10 -r1.10.2.1 src/sys/dev/usb/uatp.c cvs rdiff -u -r1.39 -r1.39.2.1 src/sys/dev/usb/ucycom.c cvs rdiff -u -r1.92 -r1.92.2.1 src/sys/dev/usb/uhid.c cvs rdiff -u -r1.61.2.1 -r1.61.2.2 src/sys/dev/usb/uhidev.c cvs rdiff -u -r1.15.2.1 -r1.15.2.2 src/sys/dev/usb/uhidev.h cvs rdiff -u -r1.129 -r1.129.4.1 src/sys/dev/usb/ukbd.c cvs rdiff -u -r1.9 -r1.9.12.1 src/sys/dev/usb/uyurex.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.