Changeset 62066b4 in mainline for uspace/lib/drv/include/usbhc_iface.h
- Timestamp:
- 2011-02-20T21:47:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ace12560
- Parents:
- 6bb83c7 (diff), 423e8c81 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/usbhc_iface.h
r6bb83c7 r62066b4 53 53 * - argument #1 is target address 54 54 * - argument #2 is target endpoint 55 * - argument #3 is buffer size55 * - argument #3 is max packet size of the endpoint 56 56 * - this call is immediately followed by IPC data write (from caller) 57 57 * - the initial call (and the whole transaction) is answer after the … … 66 66 * - argument #1 is target address 67 67 * - argument #2 is target endpoint 68 * - argument #3 is buffer size68 * - argument #3 is max packet size of the endpoint 69 69 * - this call is immediately followed by IPC data read (async version) 70 70 * - the call is not answered until the device returns some data (or until … … 153 153 IPC_M_USBHC_INTERRUPT_IN, 154 154 155 156 /** Start WRITE control transfer.157 * See explanation at usb_iface_funcs_t (OUT transaction).158 */159 IPC_M_USBHC_CONTROL_WRITE_SETUP,160 161 /** Send control-transfer data to device.162 * See explanation at usb_iface_funcs_t (OUT transaction).163 */164 IPC_M_USBHC_CONTROL_WRITE_DATA,165 166 /** Terminate WRITE control transfer.167 * See explanation at usb_iface_funcs_t (NO-DATA transaction).168 */169 IPC_M_USBHC_CONTROL_WRITE_STATUS,170 171 172 173 /** Start READ control transfer.174 * See explanation at usb_iface_funcs_t (OUT transaction).175 */176 IPC_M_USBHC_CONTROL_READ_SETUP,177 178 /** Get control-transfer data from device.179 * See explanation at usb_iface_funcs_t (IN transaction).180 */181 IPC_M_USBHC_CONTROL_READ_DATA,182 183 /** Terminate READ control transfer.184 * See explanation at usb_iface_funcs_t (NO-DATA transaction).185 */186 IPC_M_USBHC_CONTROL_READ_STATUS,187 188 155 /** Issue control WRITE transfer. 189 156 * See explanation at usb_iface_funcs_t (OUT transaction) for … … 194 161 IPC_M_USBHC_CONTROL_WRITE, 195 162 196 /** Issue control WRITEtransfer.163 /** Issue control READ transfer. 197 164 * See explanation at usb_iface_funcs_t (IN transaction) for 198 165 * call parameters. 199 * This call is immediately followed by IPC data read from the caller 200 * (setup packet). 201 * Actual data are retrieved through IPC_M_USBHC_GET_BUFFER. 166 * This call is immediately followed by IPC data write from the caller 167 * (setup packet) and IPC data read (buffer that was read). 202 168 */ 203 169 IPC_M_USBHC_CONTROL_READ, … … 232 198 int (*tell_address)(device_t *, devman_handle_t, usb_address_t *); 233 199 234 int (*reserve_default_address)(device_t *, bool);200 int (*reserve_default_address)(device_t *, usb_speed_t); 235 201 int (*release_default_address)(device_t *); 236 int (*request_address)(device_t *, bool, usb_address_t *);202 int (*request_address)(device_t *, usb_speed_t, usb_address_t *); 237 203 int (*bind_address)(device_t *, usb_address_t, devman_handle_t); 238 204 int (*release_address)(device_t *, usb_address_t); … … 240 206 usbhc_iface_transfer_out_t interrupt_out; 241 207 usbhc_iface_transfer_in_t interrupt_in; 242 243 usbhc_iface_transfer_setup_t control_write_setup;244 usbhc_iface_transfer_out_t control_write_data;245 int (*control_write_status)(device_t *, usb_target_t,246 usbhc_iface_transfer_in_callback_t, void *);247 248 usbhc_iface_transfer_setup_t control_read_setup;249 usbhc_iface_transfer_in_t control_read_data;250 int (*control_read_status)(device_t *, usb_target_t,251 usbhc_iface_transfer_out_callback_t, void *);252 208 253 209 int (*control_write)(device_t *, usb_target_t,
Note:
See TracChangeset
for help on using the changeset viewer.