summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ehci.c
AgeCommit message (Expand)Author
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
2014-05-04Get rid of EHCI_NULL. No functional change.Martin Pieuchot
2014-04-29Finally plug the public xfer leak #1 in our USB stack.Martin Pieuchot
2014-04-29Get rid of the per-softc freelist of transfer descriptors and use aMartin 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
2014-02-24Partially revert r1.134, bring back the code suspending root hub's portsMartin Pieuchot
2014-01-15Remove a hack to update the address and packet length for every deviceMartin Pieuchot
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
2013-11-09In our USB world, timeouts are in milliseconds, so use timeout_add_msec()Martin Pieuchot
2013-11-09Reduce the differences between our controller drivers and initializeMartin Pieuchot
2013-11-07Remove isoc_len from the transfer descriptor, it is assigned once butMartin Pieuchot
2013-11-01Move the abort_task storage to the generic USB xfer structure insteadMartin Pieuchot
2013-06-12Rework of the suspend/resume logic.Martin Pieuchot
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt