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


Ignore:
Timestamp:
2011-08-25T08:53:14Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32e093e
Parents:
3afb758
Message:

libusbhost: Streamline new hcd arch. UHCI: follow changes in libusbhost

Add endpoint registration hook.
Remove batch private data dtor from hcd_t (it should be set during initialization)

File:
1 edited

Legend:

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

    r3afb758 r1a02517  
    198198        instance->generic.private_data = instance;
    199199        instance->generic.schedule = hc_schedule;
    200         instance->generic.batch_private_ctor = uhci_transfer_batch_create;
    201         instance->generic.batch_private_dtor = uhci_transfer_batch_dispose;
     200        instance->generic.batch_init_hook = batch_init_private;
     201        instance->generic.ep_add_hook = NULL;
    202202#undef CHECK_RET_DEST_FUN_RETURN
    203203
Note: See TracChangeset for help on using the changeset viewer.