Changeset be7950e8 in mainline for uspace/drv/ohci/batch.c


Ignore:
Timestamp:
2011-03-21T13:07:56Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2bf8f8c
Parents:
ff582d47
Message:

Implement interface, add stub batch functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/batch.c

    rff582d47 rbe7950e8  
    4141
    4242#define DEFAULT_ERROR_COUNT 3
    43 
     43batch_t * batch_get(
     44    ddf_fun_t *fun,
     45                usb_target_t target,
     46    usb_transfer_type_t transfer_type,
     47                size_t max_packet_size,
     48    usb_speed_t speed,
     49                char *buffer,
     50                size_t size,
     51                char *setup_buffer,
     52                size_t setup_size,
     53    usbhc_iface_transfer_in_callback_t func_in,
     54    usbhc_iface_transfer_out_callback_t func_out,
     55                void *arg,
     56                device_keeper_t *manager
     57                )
     58{
     59        return NULL;
     60}
     61/*----------------------------------------------------------------------------*/
     62void batch_dispose(batch_t *instance)
     63{
     64}
     65/*----------------------------------------------------------------------------*/
     66void batch_control_write(batch_t *instance)
     67{
     68}
     69/*----------------------------------------------------------------------------*/
     70void batch_control_read(batch_t *instance)
     71{
     72}
     73/*----------------------------------------------------------------------------*/
     74void batch_interrupt_in(batch_t *instance)
     75{
     76}
     77/*----------------------------------------------------------------------------*/
     78void batch_interrupt_out(batch_t *instance)
     79{
     80}
     81/*----------------------------------------------------------------------------*/
     82void batch_bulk_in(batch_t *instance)
     83{
     84}
     85/*----------------------------------------------------------------------------*/
     86void batch_bulk_out(batch_t *instance)
     87{
     88}
    4489/**
    4590 * @}
Note: See TracChangeset for help on using the changeset viewer.