Module Name: src Committed By: skrll Date: Thu Feb 18 17:34:30 UTC 2016
Modified Files: src/sys/dev/usb [nick-nhusb]: ohci.c Log Message: Only mark the last TD as "buffer rounding" when USBD_SHORT_XFER_OK. This means OHCI_CC_DATA_UNDERRUN is flagged if the device doesn't send enough data to fill the buffer in the last TD. Deal with OHCI_CC_DATA_UNDERRUN with the normal error handling, but return USBD_NORMAL_COMPLETION and let the usb_transfer_complete decide if it should return USBD_SHORT_XFER To generate a diff of this commit: cvs rdiff -u -r1.254.2.43 -r1.254.2.44 src/sys/dev/usb/ohci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.