Changeset e2976bb in mainline for uspace/drv/bus/usb/ohci/hc.c


Ignore:
Timestamp:
2011-08-25T11:34:19Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4f0e510
Parents:
27873be
Message:

OHCI: Begin move to new hcd arch, plug in batch init hook.

File:
1 edited

Legend:

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

    r27873be re2976bb  
    193193        CHECK_RET_RETURN(ret, "Failed to initialize endpoint manager: %s.\n",
    194194            str_error(ret));
     195
     196        ret = hcd_init(&instance->generic, BANDWIDTH_AVAILABLE_USB11);
     197        instance->generic.schedule = NULL;
     198        instance->generic.batch_init_hook = batch_init_ohci;
     199        instance->generic.ep_add_hook = NULL;
    195200
    196201        ret = hc_init_memory(instance);
Note: See TracChangeset for help on using the changeset viewer.