summaryrefslogtreecommitdiff
path: root/sys/dev/usb/xhci.c
AgeCommit message (Expand)Author
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
2014-10-05Do not mark the pipe as halted when the HC reports a (split) transactionMartin Pieuchot
2014-10-04Wait until a read control transfer is really completed before passingMartin Pieuchot
2014-08-30Allow new devices to get an address when XHCI_DEBUG is defined.Martin Pieuchot
2014-08-10Merge xhci_device_setup() into xhci_pipe_init() there's no reason toMartin 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-09Add support for non-root hubs now that uhub(4) can deal with them. ForMartin Pieuchot
2014-08-08Make sure asynchronous commands do not race with synchronous ones.Martin Pieuchot
2014-08-08Improve the logic to determine the maximum endpoint service interfaceMartin Pieuchot
2014-08-08Implement polling.Martin Pieuchot
2014-08-08Even if the endpoint it reseted before the stack gets informed that aMartin Pieuchot