summaryrefslogtreecommitdiff
path: root/sys/dev/usb/xhci.c
AgeCommit message (Expand)Author
2017-09-08Add support for isochronous transfers to xhci(4).Stefan Sperling
2017-09-04Revert previous: "Fix a remaining length miscalculation in xhci(4)."Stefan Sperling
2017-09-01Fix a remaining length miscalculation in xhci(4).Stefan Sperling
2017-07-30Use memcpy instead of casts to copy 8 bytes of data to avoid unalignedMark Kettenis
2017-06-22double ;;. xhci one found by geoffhillTheo 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-03Fix some bus_dmamap_sync(9) calls.Martin Pieuchot
2016-09-21Remove a hack now that the USB stack correctly set the maximum packetMartin Pieuchot
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2015-12-02Do not change the status of a transfer before giving it back to theMartin Pieuchot
2015-11-29Unconnected xhci(4) super speed ports may come up with the XHCI_PS_WRC,Mark Kettenis
2015-11-02Mark xhci_intr() as IPL_MPSAFE since it only schedules a soft-interrupt.Martin Pieuchot
2015-07-12Do not trust the hardware when it says that the number of remainingMartin Pieuchot
2015-06-29Clear root hub's "port link state".Martin Pieuchot
2015-06-22Make xhci(4)'s root hub report the same status bits as physical USB3 hubs.Martin Pieuchot
2015-05-27Improve the controller state check in xhci_resetMike Belopuhov
2015-04-19Do not truncate possible remaining transfer length.Martin Pieuchot
2015-01-21Do not try to stop and reset endpoints if USB transfers are abortedMartin Pieuchot
2015-01-18Do not trust the content of event TRBs coming from the hardware andMartin Pieuchot
2015-01-18Complete synchronous abort method modeled after the existing ones.Martin Pieuchot
2015-01-18Since we are no longer resetting rings when a Babble or Stall conditionMartin Pieuchot
2015-01-17Split the consumer & producer logic into two different functions inMartin Pieuchot
2015-01-09Properly unwind from a failure in usbd_dma_contig_alloc(). CallingMark Kettenis
2015-01-05Prevent a race condition upon resume by adding a supplementary delay.Martin Pieuchot
2015-01-04Only set the status of a completed xfer just before giving it back toMartin Pieuchot
2015-01-02When chaining TRBs, calculate the TD Size as described in sectionMartin Pieuchot
2014-12-21Various transfer improvements/fixes.Martin Pieuchot
2014-12-21Use a bitmask when dumping TRB flags. No change in !XHCI_DEBUG.Martin Pieuchot
2014-12-19Use <sys/endian.h> instead of <machine/endian.h>Philip Guenther
2014-12-15Stop using usb_{alloc,free}mem() for the rings and internal structures.Martin Pieuchot
2014-12-08When resetting an endpoint do not purge the ring. Instead set theMartin Pieuchot
2014-11-24No point in setting the Interrupt-on Short Packet bit on OUT endpoint.Martin Pieuchot
2014-11-24In debug mode, print more information when a transfer is aborted and useMartin Pieuchot
2014-11-23Be less verbose when opening a pipe and print the endpoint & slotMartin Pieuchot
2014-11-16Two fixes to make Qemu and VMware xHCI implementations work:Martin Pieuchot
2014-11-11Do not reset the base address of the control endpoint's ring whenMartin Pieuchot
2014-11-10Support USB 1.x devices below external hubs.Martin Pieuchot
2014-11-10Apparently xhci(4) also needs a hook to set the address of a device.Martin Pieuchot
2014-11-09When a pipe is closed, clear the memory of the corresponding enpointMartin Pieuchot
2014-11-07Document how the Slot States transitions described in section 4.5.3 ofMartin Pieuchot
2014-11-07Prevent a race when submitting a command by using the appropriate splMartin Pieuchot
2014-11-01Use the correct default MaxPacketSize for Full Speed devices and make themMartin Pieuchot
2014-10-31If an event is dequeued just/right after a device is detached, its pipesMartin Pieuchot
2014-10-31Enable timeouts, just in case(tm).Martin Pieuchot
2014-10-30Do not use void * for pointer artithmetics, it's a GNU extension, fromMartin Pieuchot
2014-10-30Do not enable interrupts before attaching usb(4), fix a panic when anMartin Pieuchot
2014-10-30Calculate the Route String when attaching a new device. This is stillMartin Pieuchot
2014-10-05Only synchronize used TRBs and not the full ring when sending a controlMartin Pieuchot