Module Name: src Committed By: skrll Date: Sun Sep 13 09:27:54 UTC 2015
Modified Files: src/sys/dev/usb [nick-nhusb]: xhci.c xhcireg.h Log Message: Various improvements from t-hash (updated by me) + Improve xhci_configure_endpoint(). + Split off maxburst and interval calculation. + Start interval calculation with 10, not 11. + Put correct maxburst value. + Split off constructing endpoint context. + Improve xhci_event_transfer() + Remove case of unlikely completion codes I added. + Clear xr_cookies too when xhci_set_dequeue() clears xr_trb. + Return USBD_NO_ADDR if xhci_address_device fails with XHCI_TRB_ERROR_NO_SLOTS. + Add aprint_debug xhci capability registers. + Add & update comments. I checked HCCPARAMS1 against version 1.1 of the XHCI specification. Not sure of previous version formats To generate a diff of this commit: cvs rdiff -u -r1.28.2.36 -r1.28.2.37 src/sys/dev/usb/xhci.c cvs rdiff -u -r1.2.2.2 -r1.2.2.3 src/sys/dev/usb/xhcireg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.