Changeset 21885c92 in mainline for uspace/lib/usb/include
- Timestamp:
- 2018-01-20T18:27:53Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 24fcb8b
- Parents:
- 2aaba7e
- Location:
- uspace/lib/usb/include/usb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/classes/hub.h
r2aaba7e r21885c92 71 71 uint8_t length; 72 72 73 /** Descriptor type (0x29 ). */73 /** Descriptor type (0x29 or 0x2a for superspeed hub). */ 74 74 uint8_t descriptor_type; 75 75 … … 116 116 #define HUB_CHAR_OC_PER_PORT_FLAG (1 << 3) 117 117 #define HUB_CHAR_NO_OC_FLAG (1 << 4) 118 119 /* These are invalid for superspeed hub */ 118 120 #define HUB_CHAR_TT_THINK_16 (1 << 5) 119 121 #define HUB_CHAR_TT_THINK_8 (1 << 6) … … 164 166 /** This request sets a value reported in the hub status. */ 165 167 USB_HUB_REQ_TYPE_SET_HUB_FEATURE = 0x20, 168 /** This request sets the value that the hub uses to determine the index into the Route String Index for the hub. */ 169 USB_HUB_REQ_TYPE_SET_HUB_DEPTH = 0x20, 166 170 /** This request sets a value reported in the port status. */ 167 USB_HUB_REQ_TYPE_SET_PORT_FEATURE = 0x23 171 USB_HUB_REQ_TYPE_SET_PORT_FEATURE = 0x23, 168 172 } usb_hub_bm_request_type_t; 169 173 … … 191 195 /** */ 192 196 USB_HUB_STOP_TT = 11, 197 /** USB 3+ only */ 198 USB_HUB_REQUEST_SET_HUB_DEPTH = 12, 193 199 } usb_hub_request_t; 194 200 -
uspace/lib/usb/include/usb/descriptor.h
r2aaba7e r21885c92 60 60 USB_DESCTYPE_HID_PHYSICAL = 0x23, 61 61 USB_DESCTYPE_HUB = 0x29, 62 USB_DESCTYPE_SSPEED_HUB = 0x2a, 62 63 USB_DESCTYPE_SSPEED_EP_COMPANION = 0x30 63 64 /* USB_DESCTYPE_ = */
Note:
See TracChangeset
for help on using the changeset viewer.