Changes in uspace/lib/usb/include/usb/classes/hub.h [da55d5b:03171de] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/classes/hub.h
rda55d5b r03171de 37 37 38 38 #include <sys/types.h> 39 #include <usb/hcdhubd.h>40 39 41 40 … … 149 148 } usb_hub_descriptor_t; 150 149 151 150 /** 151 * Maximum size of usb hub descriptor in bytes 152 */ 153 extern size_t USB_HUB_MAX_DESCRIPTOR_SIZE; 154 155 /** 156 * hub descriptor type 157 */ 158 extern uint8_t USB_HUB_DESCRIPTOR_TYPE; 159 160 /** 161 * @brief create uint8_t array with serialized descriptor 162 * 163 * @param descriptor 164 */ 165 void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor); 166 167 /** 168 * @brief create deserialized desriptor structure out of serialized descriptor 169 * 170 * The serialized descriptor must be proper usb hub descriptor, otherwise an eerror might occur. 171 * 172 * @param sdescriptor serialized descriptor 173 */ 174 usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor); 152 175 153 176 /** @brief usb hub specific request types. … … 192 215 } usb_hub_request_t; 193 216 194 /**195 * Maximum size of usb hub descriptor in bytes196 */197 extern size_t USB_HUB_MAX_DESCRIPTOR_SIZE;198 199 /**200 * @brief create uint8_t array with serialized descriptor201 *202 * @param descriptor203 */204 void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor);205 206 /**207 * @brief create deserialized desriptor structure out of serialized descriptor208 *209 * The serialized descriptor must be proper usb hub descriptor, otherwise an eerror might occur.210 *211 * @param sdescriptor serialized descriptor212 */213 usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor);214 215 /**216 * @brief create hub structure instance217 *218 * @param device219 * @return220 */221 usb_hcd_hub_info_t * usb_create_hub_info(device_t * device);222 223 217 224 218
Note:
See TracChangeset
for help on using the changeset viewer.