Ignore:
Timestamp:
2010-12-03T12:59:13Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
70c85211
Parents:
2e15ac40 (diff), da55d5b (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:

Merged branch development into /lelian/hidd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/classes/hub.h

    r2e15ac40 rbbc28be  
    3737
    3838#include <sys/types.h>
     39#include <usb/hcdhubd.h>
    3940
    4041
     
    148149} usb_hub_descriptor_t;
    149150
    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);
     151
    175152
    176153/**     @brief usb hub specific request types.
     
    215192} usb_hub_request_t;
    216193
     194/**
     195 *      Maximum size of usb hub descriptor in bytes
     196 */
     197extern size_t USB_HUB_MAX_DESCRIPTOR_SIZE;
     198
     199/**
     200 * @brief create uint8_t array with serialized descriptor
     201 *
     202 * @param descriptor
     203 */
     204void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor);
     205
     206/**
     207 * @brief create deserialized desriptor structure out of serialized descriptor
     208 *
     209 * The serialized descriptor must be proper usb hub descriptor, otherwise an eerror might occur.
     210 *
     211 * @param sdescriptor serialized descriptor
     212 */
     213usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor);
     214
     215/**
     216 * @brief create hub structure instance
     217 *
     218 * @param device
     219 * @return
     220 */
     221usb_hcd_hub_info_t * usb_create_hub_info(device_t * device);
     222
    217223
    218224
Note: See TracChangeset for help on using the changeset viewer.