Changeset a720ff6 in mainline for uspace/drv/bus/usb/uhci/hc.c


Ignore:
Timestamp:
2012-12-20T15:42:35Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
53332b5b
Parents:
d09791e6
Message:

uhci: Use helper routines provided by libusbhost

File:
1 edited

Legend:

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

    rd09791e6 ra720ff6  
    8585static int hc_init_mem_structures(hc_t *instance);
    8686static int hc_init_transfer_lists(hc_t *instance);
    87 static int hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch);
    8887
    8988static int hc_interrupt_emulator(void *arg);
     
    235234
    236235#undef CHECK_RET_RETURN
    237 
    238         hcd_init(&instance->generic, USB_SPEED_FULL,
    239             BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11);
    240 
    241         instance->generic.private_data = instance;
    242         instance->generic.schedule = hc_schedule;
    243         instance->generic.ep_add_hook = NULL;
    244236
    245237        hc_init_hw(instance);
Note: See TracChangeset for help on using the changeset viewer.