summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_hub.h
Commit message (Collapse)AuthorAgeFilesLines
* This commit adds full support for USB 3.0 devices in host and devicehselasky2010-10-041-0/+1
| | | | | | | | | | | | | | | | 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)
* Improve High Speed slot allocation mechanism by moving the computation to thethompsa2009-11-221-2/+2
| | | | | | endpoint rather than per xfer and provide functions around get/free of resources. Submitted by: Hans Petter Selasky
* Fix _USB2_* refernces in the header protection defines.thompsa2009-06-151-3/+3
|
* s/usb2_/usb_|usbd_/ on all function names for the USB stack.thompsa2009-06-151-8/+8
|
* Revert the size_t part of the last commit for the moment, this blows up thethompsa2009-05-301-1/+1
| | | | USB_ADD_BYTES macro.
* s/usb2_/usb_/ on all typedefs for the USB stack.thompsa2009-05-291-2/+2
|
* s/usb2_/usb_/ on all C structs for the USB stack.thompsa2009-05-281-17/+17
|
* - rename usb2_mode to usb_mode [1]thompsa2009-05-211-2/+1
| | | | | | - change variable types to use the enum Submitted by: Hans Petter Selasky [1]
* Provide a better commit log for r190735, forced by making a whitespace change.thompsa2009-04-061-1/+1
| | | | | | | | | | | | Refactor how we interface with the root HUB. This is achieved by making a direct call from usb2_do_request to the host controller for root hub requests, this call will perform the controller specific register read/writes and return the error code. This cuts out a lot of code in the host controller files and saves one thread per USB bus. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159922thompsa2009-04-051-0/+1
| | | | | | | Refactor how we interface with the root HUB. This cuts around 1200 lines of code totally and saves one thread per USB bus. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@159909thompsa2009-04-051-0/+2
| | | | | | | | | | | | | - make usb2_power_mask_t 16-bit - remove "usb2_config_sub" structure from "usb2_config". To compensate for this "usb2_config" has a new field called "usb_mode" which select for which mode the current xfer entry is active. Options are: a) Device mode only b) Host mode only (default-by-zero) c) Both modes. This change was scripted using the following sed script: "s/\.mh\././g". - the standard packet size table in "usb_transfer.c" is now a function, hence the code for the function uses less memory than the table itself. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb @159431,159437,159438thompsa2009-03-201-1/+1
| | | | | | | - start using the new USB typedefs in the USB core - Remove usage of USB_ADD_BYTES() Submitted by: Hans Petter Selasky
* Move the new USB stack into its new home.thompsa2009-02-231-0/+80
OpenPOWER on IntegriCloud