Changes in uspace/lib/usb/src/pipesio.c [47c573a:0a46c41e] in mainline
- File:
-
- 1 edited
-
uspace/lib/usb/src/pipesio.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/pipesio.c
r47c573a r0a46c41e 71 71 ipc_method = IPC_M_USBHC_INTERRUPT_IN; 72 72 break; 73 case USB_TRANSFER_BULK: 74 ipc_method = IPC_M_USBHC_BULK_IN; 75 break; 73 76 default: 74 77 return ENOTSUP; … … 78 81 * Make call identifying target USB device and type of transfer. 79 82 */ 80 aid_t opening_request = async_send_ 3(pipe->hc_phone,83 aid_t opening_request = async_send_4(pipe->hc_phone, 81 84 DEV_IFACE_ID(USBHC_DEV_IFACE), ipc_method, 82 85 pipe->wire->address, pipe->endpoint_no, 86 pipe->max_packet_size, 83 87 NULL); 84 88 if (opening_request == 0) { … … 194 198 ipc_method = IPC_M_USBHC_INTERRUPT_OUT; 195 199 break; 200 case USB_TRANSFER_BULK: 201 ipc_method = IPC_M_USBHC_BULK_OUT; 202 break; 196 203 default: 197 204 return ENOTSUP; … … 201 208 * Make call identifying target USB device and type of transfer. 202 209 */ 203 aid_t opening_request = async_send_ 3(pipe->hc_phone,210 aid_t opening_request = async_send_4(pipe->hc_phone, 204 211 DEV_IFACE_ID(USBHC_DEV_IFACE), ipc_method, 205 212 pipe->wire->address, pipe->endpoint_no, 213 pipe->max_packet_size, 206 214 NULL); 207 215 if (opening_request == 0) { … … 283 291 * Make call identifying target USB device and control transfer type. 284 292 */ 285 aid_t opening_request = async_send_ 3(pipe->hc_phone,293 aid_t opening_request = async_send_4(pipe->hc_phone, 286 294 DEV_IFACE_ID(USBHC_DEV_IFACE), IPC_M_USBHC_CONTROL_READ, 287 295 pipe->wire->address, pipe->endpoint_no, 296 pipe->max_packet_size, 288 297 NULL); 289 298 if (opening_request == 0) { … … 402 411 * Make call identifying target USB device and control transfer type. 403 412 */ 404 aid_t opening_request = async_send_ 4(pipe->hc_phone,413 aid_t opening_request = async_send_5(pipe->hc_phone, 405 414 DEV_IFACE_ID(USBHC_DEV_IFACE), IPC_M_USBHC_CONTROL_WRITE, 406 415 pipe->wire->address, pipe->endpoint_no, 407 416 data_buffer_size, 417 pipe->max_packet_size, 408 418 NULL); 409 419 if (opening_request == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
