Changeset 1561e8b in mainline for uspace/lib/usbdev/src/pipes.c


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

libusbdev: Use provided usb_device_connection_t wrappers.

File:
1 edited

Legend:

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

    r6a21877 r1561e8b  
    8787            return ENOTSUP;
    8888
    89         return usb_hc_control_read(pipe->wire->hc_connection,
    90             pipe->wire->address, pipe->endpoint_no, setup, buffer, size,
    91             size_transfered);
     89        return usb_device_control_read(pipe->wire,
     90            pipe->endpoint_no, setup, buffer, size, size_transfered);
    9291}
    9392/*----------------------------------------------------------------------------*/
     
    108107            return ENOTSUP;
    109108
    110         return usb_hc_control_write(pipe->wire->hc_connection,
    111             pipe->wire->address, pipe->endpoint_no, setup, buffer, size);
     109        return usb_device_control_write(pipe->wire,
     110            pipe->endpoint_no, setup, buffer, size);
    112111}
    113112/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.