Changeset 3185692 in mainline


Ignore:
Timestamp:
2011-02-25T09:56:27Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0fc764f, 11f1817
Parents:
a80849c (diff), d493ac17 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge from usb/smekideki: a bit of codelifting

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub_private.h

    ra80849c r3185692  
    162162}
    163163
     164/**
     165 * @brief create uint8_t array with serialized descriptor
     166 *
     167 * @param descriptor
     168 * @return newly created serializd descriptor pointer
     169 */
     170void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor);
     171
     172/**
     173 * @brief create deserialized desriptor structure out of serialized descriptor
     174 *
     175 * The serialized descriptor must be proper usb hub descriptor,
     176 * otherwise an eerror might occur.
     177 *
     178 * @param sdescriptor serialized descriptor
     179 * @return newly created deserialized descriptor pointer
     180 */
     181usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor);
    164182
    165183
  • uspace/lib/usb/include/usb/classes/hub.h

    ra80849c r3185692  
    196196extern size_t USB_HUB_MAX_DESCRIPTOR_SIZE;
    197197
    198 /**
    199  * @brief create uint8_t array with serialized descriptor
    200  *
    201  * @param descriptor
    202  */
    203 void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor);
    204 
    205 /**
    206  * @brief create deserialized desriptor structure out of serialized descriptor
    207  *
    208  * The serialized descriptor must be proper usb hub descriptor, otherwise an eerror might occur.
    209  *
    210  * @param sdescriptor serialized descriptor
    211  */
    212 usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor);
    213198
    214199
Note: See TracChangeset for help on using the changeset viewer.