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


Ignore:
Timestamp:
2011-08-25T13:16:45Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e20eaed
Parents:
90dd59d
Message:

libusbhost,uhci,ohci: Remove batch init hook.

Hw specific inintialization is a part of the scheduling process.

File:
1 edited

Legend:

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

    r90dd59d r23b0fe8  
    198198        instance->generic.private_data = instance;
    199199        instance->generic.schedule = hc_schedule;
    200         instance->generic.batch_init_hook = batch_init_uhci;
    201200        instance->generic.ep_add_hook = NULL;
     201
    202202#undef CHECK_RET_DEST_FUN_RETURN
    203203
     
    382382        assert(instance);
    383383        assert(batch);
     384        int ret = batch_init_uhci(batch);
     385        if (ret != EOK) {
     386                return ret;
     387        }
    384388
    385389        transfer_list_t *list =
Note: See TracChangeset for help on using the changeset viewer.