aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_request.h
Commit message (Collapse)AuthorAgeFilesLines
* - Add more defines to limit USB memory usage and number of allocationsHans Petter Selasky2013-05-031-1/+4
| | | | | | | | | | | in reduced memory systems. - Split allocation and freeing of the configuration descriptor into a separate function, so that the configuration descriptor can be made fixed size to save memory allocations. This applies for both device and host mode. Notes: svn path=/head/; revision=250207
* Add definitions and structures for USB 2.0 Link Power Management, LPM.Hans Petter Selasky2012-04-021-0/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=233771
* - Try to fix support for USB 3.0 HUBs.Hans Petter Selasky2012-01-121-0/+2
| | | | | | | | | - Try to fix support for USB 3.0 suspend and resume. MFC after: 1 week Notes: svn path=/head/; revision=230032
* Improve enumeration of Low- and Full-speed devices connected through aHans Petter Selasky2011-06-061-0/+4
| | | | | | | | | | | | High-speed USB HUB by resetting the transaction translator (TT) before trying re-enumeration. Also when clear-stall fails multiple times try a re-enumeration. Suggested by: Trevor Blackwell MFC after: 14 days Notes: svn path=/head/; revision=222786
* Add code to warm reset a USB 3.0 port.Hans Petter Selasky2010-11-041-0/+2
| | | | | | | Approved by: thompsa (mentor) Notes: svn path=/head/; revision=214804
* This commit adds full support for USB 3.0 devices in host and deviceHans Petter Selasky2010-10-041-2/+14
| | | | | | | | | | | | | | | | | | | mode in the USB core. The patch mostly consists of updating the USB HUB code to support USB 3.0 HUBs. This patch also add some more USB controller methods to support more active-alike USB controllers like the XHCI which needs to be informed about various device state events. USB 3.0 HUBs are not tested yet, due to lack of hardware, but are believed to work. After this update the initial device descriptor is only read twice when we know that the bMaxPacketSize is too small for a single packet transfer of this descriptor. Approved by: thompsa (mentor) Notes: svn path=/head/; revision=213435
* - Make struct usb_xfer opaque so that drivers can not access the internalsAndrew Thompson2009-06-231-31/+0
| | | | | | | - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h Notes: svn path=/head/; revision=194677
* Fix _USB2_* refernces in the header protection defines.Andrew Thompson2009-06-151-3/+3
| | | | Notes: svn path=/head/; revision=194230
* s/usb2_/usb_|usbd_/ on all function names for the USB stack.Andrew Thompson2009-06-151-33/+33
| | | | Notes: svn path=/head/; revision=194228
* s/usb2_/usb_/ on all typedefs for the USB stack.Andrew Thompson2009-05-291-33/+33
| | | | Notes: svn path=/head/; revision=193045
* s/usb2_/usb_/ on all C structs for the USB stack.Andrew Thompson2009-05-281-42/+42
| | | | Notes: svn path=/head/; revision=192984
* MFp4 //depot/projects/usb@160930Andrew Thompson2009-04-221-2/+2
| | | | | | | | | | Change the roothub exec functions to take the usb request and data pointers directly rather than placing them on the parent bus struct. Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=191402
* MFp4 //depot/projects/usb@159811Andrew Thompson2009-04-051-0/+2
| | | | | | | | | First patch in a series of memory save patches. Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=190727
* MFp4 //depot/projects/usb @159431,159437,159438Andrew Thompson2009-03-201-4/+4
| | | | | | | | | | - start using the new USB typedefs in the USB core - Remove usage of USB_ADD_BYTES() Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=190181
* MFp4 //depot/projects/usb@157909Andrew Thompson2009-02-241-2/+3
| | | | | | | | | Changes to make implementing USB NDIS easier. Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=188985
* Move the new USB stack into its new home.Andrew Thompson2009-02-231-0/+103
Notes: svn path=/head/; revision=188942