Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 27873be in mainline


Ignore:
Timestamp:
2011-08-25T11:15:42Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
e2976bb
Parents:
b02308e
Message:

UHCI: rename function

Location:
uspace/drv/bus/usb/uhci
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/batch.c

    rb02308e r27873be  
    119119 * Initializes parameters needed for the transfer and callback.
    120120 */
    121 int batch_init_private(usb_transfer_batch_t *batch)
     121int batch_init_uhci(usb_transfer_batch_t *batch)
    122122{
    123123#define CHECK_NULL_DISPOSE_RETURN(ptr, message...) \
  • uspace/drv/bus/usb/uhci/batch.h

    rb02308e r27873be  
    3939#include "hw_struct/queue_head.h"
    4040
    41 int batch_init_private(usb_transfer_batch_t *batch);
     41int batch_init_uhci(usb_transfer_batch_t *batch);
    4242bool batch_is_complete(usb_transfer_batch_t *batch);
    4343qh_t * batch_qh(usb_transfer_batch_t *batch);
  • uspace/drv/bus/usb/uhci/hc.c

    rb02308e r27873be  
    198198        instance->generic.private_data = instance;
    199199        instance->generic.schedule = hc_schedule;
    200         instance->generic.batch_init_hook = batch_init_private;
     200        instance->generic.batch_init_hook = batch_init_uhci;
    201201        instance->generic.ep_add_hook = NULL;
    202202#undef CHECK_RET_DEST_FUN_RETURN
Note: See TracChangeset for help on using the changeset viewer.