Changeset 7eb32a8 in mainline


Ignore:
Timestamp:
2011-09-13T13:37:51Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e779bd3c
Parents:
3a8370c
Message:

libusbdev: Use genric read/write iface for interrupt and bulk transfers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/pipesio.c

    r3a8370c r7eb32a8  
    7373        switch (pipe->transfer_type) {
    7474                case USB_TRANSFER_INTERRUPT:
    75                         ipc_method = IPC_M_USBHC_INTERRUPT_IN;
    76                         break;
    7775                case USB_TRANSFER_BULK:
    78                         ipc_method = IPC_M_USBHC_BULK_IN;
     76                        ipc_method = IPC_M_USBHC_DATA_READ;
    7977                        break;
    8078                default:
     
    221219        switch (pipe->transfer_type) {
    222220                case USB_TRANSFER_INTERRUPT:
    223                         ipc_method = IPC_M_USBHC_INTERRUPT_OUT;
    224                         break;
    225221                case USB_TRANSFER_BULK:
    226                         ipc_method = IPC_M_USBHC_BULK_OUT;
     222                        ipc_method = IPC_M_USBHC_DATA_WRITE;
    227223                        break;
    228224                default:
Note: See TracChangeset for help on using the changeset viewer.