Changeset a72620d in mainline


Ignore:
Timestamp:
2011-02-07T19:05:07Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f241b05b
Parents:
fe10e72
Message:

Adds new API hc stubs

Location:
uspace/drv/uhci-hcd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/iface.c

    rfe10e72 ra72620d  
    132132}
    133133/*----------------------------------------------------------------------------*/
     134static int control_write(device_t *dev, usb_target_t target,
     135    void *setup_data, size_t setup_size, void *data, size_t size,
     136    usbhc_iface_transfer_out_callback_t callback, void *arg)
     137{
     138        return ENOTSUP;
     139}
     140/*----------------------------------------------------------------------------*/
     141static int control_read(device_t *dev, usb_target_t target,
     142    void *setup_data, size_t setup_size, void *data, size_t size,
     143    usbhc_iface_transfer_in_callback_t callback, void *arg)
     144{
     145        return ENOTSUP;
     146}
     147/*----------------------------------------------------------------------------*/
    134148static int control_write_setup(device_t *dev, usb_target_t target,
    135149    void *data, size_t size,
     
    213227        .interrupt_out = interrupt_out,
    214228        .interrupt_in = interrupt_in,
     229
     230        .control_read = control_read,
     231        .control_write = control_write,
    215232
    216233        .control_write_setup = control_write_setup,
  • uspace/drv/uhci-hcd/tracker.c

    rfe10e72 ra72620d  
    5151static void tracker_control_read_status(tracker_t *instance);
    5252static void tracker_control_write_status(tracker_t *instance);
     53
    5354static void tracker_call_in(tracker_t *instance);
    5455static void tracker_call_out(tracker_t *instance);
Note: See TracChangeset for help on using the changeset viewer.