summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhci.c
AgeCommit message (Expand)Author
2017-05-15Replace remaining SPLUSBCHECK by a splsoftassert(IPL_SOFTUSB).Martin 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-02-02Remove dead assignments and now unused variables.Charles Longeau
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2015-06-26Revert previous. uvideo checks the transfered length of every frame andMartin Pieuchot
2015-06-22Do not update frame lengths to reflect what has really been transferedMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19Use <sys/endian.h> instead of <machine/endian.h>Philip Guenther
2014-12-17Avoid premature masking in the interrupt handler code that checks for removedMark Kettenis
2014-12-09More malloc() -> mallocarray() in the kernel.Doug Hogan
2014-10-30XFER_FREE is not used, ciao.Martin Pieuchot
2014-08-10Since USB xfer pools are accessed in interrupt context, initialize themMartin Pieuchot
2014-08-10Set and check for XFER_BUSY in the common methods instead of doing itMartin Pieuchot
2014-08-05Only check if the abort transfer is the interrupt one if the pipe isMartin Pieuchot
2014-07-12Protect the freelists of transfer descriptors with the appropriate splMartin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-10Do not set the bus dying flag during DVACT_DEACTIVATE otherwise theMartin Pieuchot
2014-07-09Adds an optional bus function to set the address of a new device andMartin Pieuchot
2014-06-04Clearing the data toggle bit only makes sense for endpoints that use it,Martin Pieuchot
2014-06-04Use C99 initializers for pipe and bus methods.Martin Pieuchot
2014-05-30Remove unused fields from the pipes.Martin Pieuchot
2014-05-25The default case in uhci_deactivate() was missing. Because of that,Martin Pieuchot
2014-05-19unbreak the build when DIAGNOSTIC is not definedJonathan Gray
2014-05-18Do not pass an xfer pointer to the timeout routine checking for root hubMartin Pieuchot
2014-05-16Reduce the difference between HC drivers by always passing a genericMartin Pieuchot
2014-05-16There is no need to remember which usb(4) device is the child of an USBMartin Pieuchot
2014-05-09Plug an xfer leak when detaching root hubs.Martin Pieuchot
2014-05-08Plug one more xfer leak.Martin Pieuchot
2014-05-04Make use of usbd_xfer_isread() instead of rerolling it everywhere.Martin Pieuchot
2014-04-29Get rid of the per-softc freelist of transfer descriptors and use aMartin Pieuchot
2014-04-29Finally plug the public xfer leak #1 in our USB stack.Martin Pieuchot
2014-04-27Start de-obfuscating the HC drivers.Martin Pieuchot
2014-03-25Instead of matching root hubs with a custom address, that only worksMartin Pieuchot
2014-03-15Unify the *hci_timeout() functions, there should be no functional change.Martin Pieuchot
2014-03-11Kill dead links.Martin Pieuchot
2014-03-07Transfer descriptors already have a back pointer to the USB deviceMartin Pieuchot
2014-03-07We already have three identical copies of the *hci_str() function,Martin Pieuchot
2013-12-09Mark a few functions with __unused.Brad Smith
2013-11-09In our USB world, timeouts are in milliseconds, so use timeout_add_msec()Martin Pieuchot
2013-11-07In polling mode since r1.101 we could end up dereferencing anMartin Pieuchot
2013-11-07Make sure to mark the controller as dying in order to stop processingMartin Pieuchot
2013-11-01Reduce the differences with ehci(4)'s transfer decriptors. This is aMartin Pieuchot
2013-11-01Move the abort_task storage to the generic USB xfer structure insteadMartin Pieuchot
2013-06-25Bring ohci(4) and uhci(4) in sync with ehci(4) by ensuring that aMartin Pieuchot
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
2013-05-20Remove `abort_task' from usb task queue before recycling a `structYASUOKA Masahiko
2013-04-19Remove allocm() and freem() from the USB bus interface now that theyMartin Pieuchot
2013-04-16Don't be too clever when allocating a buffer for a transfer and do notMartin Pieuchot
2013-04-15Get rid of various 'typedef struct' definitions and use plain structureMarcus Glocker