summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi.c
AgeCommit message (Expand)Author
2021-02-03After the rev. 1.108 commit we see some issues with ugen(4) behaviour,Marcus Glocker
2021-02-01Align the mixed naming for the variables used to reference toMarcus Glocker
2021-01-29Don't rely on USB interfaces being at compliant indices.Edd Barrett
2021-01-27The usb configuration descriptor parameter providing the number ofMarcus Glocker
2020-04-03Move the responsibility of syncing the data buffers from the USBPatrick Wildt
2020-04-01USB control requests to the root hub differ from those to devices. ForPatrick Wildt
2020-03-21Instead of passing the flags as part of a struct that's supposed to bePatrick Wildt
2020-02-22use the UE_GET_XFERTYPE macro where applicableJasper Lievisse Adriaanse
2019-10-21Mark recycled USB `xfer' as NOT_STARTED to not confuse HCD abort methods.Martin Pieuchot
2019-10-06tsleep(9) to tsleep_nsec(9) conversions.Martin Pieuchot
2018-11-18Use "%s", __func__ in DPRINTF() to reduce grep noise.Martin Pieuchot
2018-11-10free(9) sizes for endpoints array.Martin Pieuchot
2018-04-29Fail early when transfers aren't completed in order.Martin Pieuchot
2018-02-03Add support for dumping USB transfers via bpf(4) using USBPcap headers.Martin Pieuchot
2017-09-21Disable a splsoftassert() at least until ohci(4) has been fixed.Martin Pieuchot
2017-05-15Replace remaining SPLUSBCHECK by a splsoftassert(IPL_SOFTUSB).Martin Pieuchot
2017-05-10It is unsafe to dereference ``xfer'' after calling the callback as itMartin Pieuchot
2017-05-10Revert r1.61 and partially 1.60. The resulting logic is currently aMartin Pieuchot
2017-05-05Remove a DIAGNOSTIC test for a NULL pipe value inside a transfer,Jonathan Gray
2017-04-08A pile of sizes to free(9). In test for a few days in snapshots.Theo de Raadt
2017-03-17ubcmtp(4) works because of a use-after-free. Many more drivers areMartin Pieuchot
2017-03-10Fix a use-after-free when sending root hub control transfers.Martin Pieuchot
2017-03-10Move per HC polling code to the stack.Martin Pieuchot
2017-03-06Do not print uninitialized variable in DPRINTFN().Martin Pieuchot
2017-03-06It is unsafe to dereference ``xfer'' after calling the callback as itMartin Pieuchot
2016-10-04Let the stack perform DMA synchronization instead of doing it (partially)Martin Pieuchot
2016-06-13Remove the restriction for the usbd_ref_* functions to work just in caseMarcus Glocker
2015-07-10usbd_{endpoint,interface}_count() are no longer used and die.Martin Pieuchot
2015-06-15Set the length of isochronous transfers as the sum of the frames lengths.Martin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-12KNF.Masao Uebayashi
2015-01-22Reduce the number of intermediate buffers by pre-allocating DMA buffersMartin Pieuchot
2015-01-11There's no simple way so check for DMA buffer overrun with isochronousMartin Pieuchot
2015-01-09Always check for DMA buffer overrun, not just for some specific xfers.Martin Pieuchot
2015-01-09Add an asynchronous version of uhidev_get_report(), from David HiggsMartin Pieuchot
2014-11-01Make it clear that dma buffers are link to xfers, no functional change.Martin Pieuchot
2014-10-31Use understandable messages when the per-xfer poison value is incorrect.Martin Pieuchot
2014-09-26Fix format signednessPhilip Guenther
2014-08-10Set and check for XFER_BUSY in the common methods instead of doing itMartin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-03-07We already have three identical copies of the *hci_str() function,Martin Pieuchot
2014-03-06Turn usbd_xfer_isread() into a public function so that we can useMartin Pieuchot
2014-03-06Makes the "cleartoggle" function provided by HC drivers optionalMartin Pieuchot
2013-11-15Clean-up usbd_abort_pipe() usage.Paul Irofti
2013-11-13Polling is done per controller not per interface.Paul Irofti
2013-11-06Make usbd_free_xfer return void, since no callers use the return value.Jeremy Evans
2013-11-02Begin conversion of USB stack to return int instead of usbd_status,Jeremy Evans
2013-10-31Pipe don't have states. Kill an useless & commented out chunk of code.Martin Pieuchot
2013-10-31usbd_pipe2device_handle() is not used, should not be used and die.Martin Pieuchot
2013-10-14If a transfer terminates with an I/O error status, do not modify theMartin Pieuchot