Changeset 09daa8b in mainline for uspace/drv/usbhub/usbhub_private.h
- Timestamp:
- 2011-03-20T21:50:20Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fd9f6e4c
- Parents:
- 59e01689
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub_private.h
r59e01689 r09daa8b 58 58 59 59 60 //************61 //62 // convenience debug printf for usb hub63 //64 //************65 #define dprintf(level, format, ...) \66 usb_log_printf((level), format "\n", ##__VA_ARGS__)67 68 69 60 /** 70 61 * Create hub structure instance … … 77 68 */ 78 69 usb_hub_info_t * usb_create_hub_info(ddf_dev_t * device); 79 80 /** List of hubs maanged by this driver */81 extern usb_general_list_t usb_hub_list;82 83 /** Lock for hub list*/84 extern fibril_mutex_t usb_hub_list_lock;85 86 87 /**88 * Perform complete control read transaction89 *90 * Manages all three steps of transaction: setup, read and finalize91 * @param phone92 * @param target93 * @param request Request packet94 * @param rcvd_buffer Received data95 * @param rcvd_size96 * @param actual_size Actual size of received data97 * @return error code98 */99 /*100 int usb_drv_sync_control_read(101 usb_endpoint_pipe_t *pipe,102 usb_device_request_setup_packet_t * request,103 void * rcvd_buffer, size_t rcvd_size, size_t * actual_size104 );*/105 106 /**107 * Perform complete control write transaction108 *109 * Manages all three steps of transaction: setup, write and finalize110 * @param phone111 * @param target112 * @param request Request packet to send data113 * @param sent_buffer114 * @param sent_size115 * @return error code116 */117 /*int usb_drv_sync_control_write(118 usb_endpoint_pipe_t *pipe,119 usb_device_request_setup_packet_t * request,120 void * sent_buffer, size_t sent_size121 );*/122 70 123 71 /** … … 163 111 164 112 /** 165 * @briefcreate uint8_t array with serialized descriptor113 * create uint8_t array with serialized descriptor 166 114 * 167 115 * @param descriptor … … 171 119 172 120 /** 173 * @briefcreate deserialized desriptor structure out of serialized descriptor121 * create deserialized desriptor structure out of serialized descriptor 174 122 * 175 123 * The serialized descriptor must be proper usb hub descriptor,
Note:
See TracChangeset
for help on using the changeset viewer.