summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi.c
AgeCommit message (Expand)Author
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
2013-09-24Stop generating traffic for a given endpoint when a transfer reportedMartin Pieuchot
2013-09-20Unify and document usbd_transfer(9).Martin Pieuchot
2013-09-06Fix build with USB_DEBUG defined, pipes don't have refcounters anymore.Martin Pieuchot
2013-08-13Remove bogus and useless refcounting of usbd pipes that could lead toMartin Pieuchot
2013-08-08Use the same functions to abort and close the control pipe of a deviceMartin Pieuchot
2013-04-26Remove unused and ambiguous usbd_get_interface() function.Martin Pieuchot
2013-04-26Give back to usb(4) what is usb(4)'s. In other words use the usb_* prefixMartin Pieuchot
2013-04-26Rename three functions in usbdi.c to their right prefix (usb_* to usbd_*).Marcus Glocker
2013-04-19Remove allocm() and freem() from the USB bus interface now that theyMartin Pieuchot
2013-04-19Remove unused usbd_get_buffer() function.Martin Pieuchot
2013-04-15Get rid of various 'typedef struct' definitions and use plain structureMarcus Glocker
2013-04-12usbd_setup_default_xfer() already use the default device's pipe so there'sMartin Pieuchot