Module Name: src Committed By: mrg Date: Mon Feb 20 02:12:25 UTC 2012
Modified Files: src/sys/dev/usb [jmcneill-usbmp]: ehci.c ohci.c uhci.c ukbd.c usb.c usbdi.c usbdivar.h Log Message: several changes to the MP usb apis, and other misc changes: - usb_transfer_complete()/usb_insert_transfer()/usb_start_next() all must have the thread lock held - (*soft_intr) now is called with the thread lock held unless we are in polling mode. add a usb_soft_intr() to deal with this - XXX usbd_set_polling() api exists to increase/decrease the polling count, but only ukbd uses. everyone else open codes it, but this should probably be changed - (*abort) is now called with the thread lock held - update several comments to not refer to splusb() anymore - add many more asserts - use more c99 struct initialisers To generate a diff of this commit: cvs rdiff -u -r1.181.6.5 -r1.181.6.6 src/sys/dev/usb/ehci.c cvs rdiff -u -r1.218.6.8 -r1.218.6.9 src/sys/dev/usb/ohci.c cvs rdiff -u -r1.240.6.6 -r1.240.6.7 src/sys/dev/usb/uhci.c cvs rdiff -u -r1.113.4.1 -r1.113.4.2 src/sys/dev/usb/ukbd.c cvs rdiff -u -r1.125.6.5 -r1.125.6.6 src/sys/dev/usb/usb.c cvs rdiff -u -r1.134.2.6 -r1.134.2.7 src/sys/dev/usb/usbdi.c cvs rdiff -u -r1.93.8.4 -r1.93.8.5 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.