summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/xhci.h
Commit message (Collapse)AuthorAgeFilesLines
* Add defines to more easily allow a single threaded version of the FreeBSDhselasky2013-02-051-2/+1
| | | | USB stack. This is useful for non-kernel purposes, like the loader.
* - Add support for Etron EJ168 USB 3.0 Host Controllers.hselasky2012-12-011-1/+1
| | | | | | | | | | | | | This brand of controllers expects that the number of contexts specified in the input slot context points to an active endpoint context, else it refuses to operate. - Ring the correct doorbell when streams mode is used. - Wrap one or two long lines. Tested by: Markus Pfeiffer (DragonFlyBSD) MFC after: 1 week
* Add tunable for XHCI port routing.hselasky2012-08-231-0/+1
| | | | MFC after: 1 week
* Add support for the so-called streams feature of BULK endpointshselasky2012-08-121-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in SUPER-speed mode, USB 3.0. This feature has not been tested yet, due to lack of hardware. This feature is useful when implementing protocols like UASP, USB attached SCSI which promises higher USB mass storage throughput. This patch also implements support for hardware processing of endpoints for increased performance. The switching to hardware processing of an endpoint is done via a callback to the USB controller driver. The stream feature is implemented like a variant of a hardware USB protocol. USB controller drivers implementing device mode needs to be updated to implement the new "xfer_stall" USB controller method and remove the "xfer" argument from the "set_stall" method. The API's toward existing USB drivers are preserved. To setup a USB transfer in stream mode, set the "stream_id" field of the USB config structure to the desired value. The maximum number of BULK streams is currently hardcoded and limited to 8 via a define in usb_freebsd.h. All USB drivers should be re-compiled after this change. LibUSB will be updated next week to support streams mode. A new IOCTL to setup BULK streams as already been implemented. The ugen device nodes currently only supports stream ID zero. The FreeBSD version has been bumped. MFC after: 2 weeks
* Add missing change to XHCI driver similar to changes in r228483.hselasky2011-12-311-3/+0
| | | | MFC after: 0 days
* - Add support for 64-byte contexts to XHCI driver.hselasky2011-01-131-0/+3
| | | | | | | - Remove some dead code. - Fixed one instance of missing endian conversion. Approved by: thompsa (mentor)
* Commit initial version of new XHCI driver which was written fromhselasky2010-10-031-0/+499
scratch. This driver adds support for USB3.0 devices. The XHCI interface is also backwards compatible to USB2.0 and USB1.0 and will evntually replace the OHCI/UHCI and EHCI drivers. There will be follow-up commits during the coming week to link the driver into the default kernel build and add missing USB3.0 functionality in the USB core. Currently only the driver files are committed. Approved by: thompsa (mentor)
OpenPOWER on IntegriCloud