summaryrefslogtreecommitdiffstats
path: root/include/usb/ch11.h
Commit message (Collapse)AuthorAgeFilesLines
* USB: fixup usb_hub_descriptor length nameSebastian Hesselbarth2014-07-241-1/+1
| | | | | | | | | All other descriptors have their length field named bLength, except imported usb_hub_descriptor from Linux uses bDescLength. Adjust the name to match the others. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB: reduce USB_MAXCHILDREN on imported ch11.hSebastian Hesselbarth2014-07-241-1/+3
| | | | | | | | | Barebox supports up to 8 USB devices attached on a Hub, Linux does 31. Reduce the USB_MAXCHILDREN define in ch11.h to the Barebox one and put a comment above. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* USB: import ch11.h from LinuxSebastian Hesselbarth2014-07-241-0/+277
Linux has an extra include for chapter 11 (Hub Specification) of USB 2.0 spec. We already have a ch9.h, so import the one from Linux. Barebox specific changes will be patched up later. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>