Changeset db7ed07 in mainline for uspace/drv/uhci/callback.h


Ignore:
Timestamp:
2011-01-28T11:45:40Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c13ecfe
Parents:
7fc092a
Message:

Added callback_run

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/callback.h

    r7fc092a rdb7ed07  
    3535#define DRV_UHCI_CALLBACK_H
    3636
    37 #include <mem.h>
    3837#include <usbhc_iface.h>
     38#include <usb/usb.h>
    3939
    4040#include "debug.h"
     
    4949        void *arg;
    5050        size_t buffer_size;
     51        size_t actual_size;
    5152        device_t *dev;
    5253} callback_t;
     
    6970                trans_free(instance->new_buffer);
    7071}
     72
     73void callback_run(
     74  callback_t *instance, usb_transaction_outcome_t outcome, size_t act_size);
    7175#endif
    7276/**
Note: See TracChangeset for help on using the changeset viewer.