summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ehci.c
AgeCommit message (Expand)Author
2017-05-15Replace remaining SPLUSBCHECK by a splsoftassert(IPL_SOFTUSB).Martin Pieuchot
2017-04-08A pile of sizes to free(9). In test for a few days in snapshots.Theo de Raadt
2017-03-30these free() size choices appear to be wrong. joel has a diff that fixesTheo de Raadt
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
2016-11-08Remove superfluous DMA synchronization now that the stack is doing it forMartin Pieuchot
2016-10-02Save and restore the (non-standard) USBMODE register around a reset of theMark Kettenis
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-08-18add a missing splx in an error pathJonathan Gray
2016-07-20ATI controllers seem to need the same workaround as VIA controllers.Martin Pieuchot
2015-12-11Work around Nvidia EHCI controllers bugs.Martin Pieuchot
2015-11-14Add missing header found while removing <sys/srp.h> from <sys/param.h>Martin Pieuchot
2015-11-02Delay root hub interrupt processing to the soft-interrupt path in orderMartin Pieuchot
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-04-16Make sure LLVM static analyzer do not report a false positive,Martin Pieuchot
2015-04-10I did quite some changes to this driver, so add copyright.Martin Pieuchot
2015-04-10Full-speed isochronous transfers support with opportunistic micro-framesMartin Pieuchot
2015-03-25Expand ehci_{add,del}_intr_list() macros.Martin Pieuchot
2015-03-25Merge ehci_device_request() into ehci_device_ctrl_start() to matchMartin Pieuchot
2015-03-25Remove more DPRINTFs, this file is almost in a readable state now.Martin Pieuchot
2015-03-25Use KASSERT() to check when/if URQ_REQUEST is correctly set just likeMartin Pieuchot
2015-03-25Remove EHCI_DEBUG chunks that make things harder to understand.Martin Pieuchot
2015-03-17Prevent a race resulting in an infinite loop printing "ehci_idone" messages.Martin Pieuchot
2015-03-06Revert previous, the fix is not right and causes a regression asMartin Pieuchot
2015-02-28Prevent a race resulting in an infinite loop printing "ehci_idone" messages.Martin Pieuchot
2015-02-09Whitespace.Masao Uebayashi
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-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-10-05Do not re-establish the default pipe twice for every controller. MoveMartin Pieuchot
2014-09-01Revert previous, it puts too much pressure on memory allocation asMartin Pieuchot
2014-08-30Rewrite how queue heads are inserted and removed from the asynchronousMartin 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-08-03don't return unitialised memory on error in ehci_alloc_sqtd()Jonathan Gray
2014-07-12Protect the freelists of transfer descriptors with the appropriate splMartin Pieuchot
2014-07-12Use the correct poll interval for HS root hub before it gets copied, noMartin Pieuchot
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-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