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


Ignore:
Timestamp:
2011-09-07T11:38:57Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d394f1b8
Parents:
7099861
Message:

USB: make bandwidth count function changeable

File:
1 edited

Legend:

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

    r7099861 r933b0d7  
    188188        list_initialize(&instance->pending_batches);
    189189
    190         ret = hcd_init(&instance->generic, BANDWIDTH_AVAILABLE_USB11);
     190        ret = hcd_init(&instance->generic, BANDWIDTH_AVAILABLE_USB11,
     191            bandwidth_count_usb11);
    191192        CHECK_RET_RETURN(ret, "Failed to initialize generic driver: %s.\n",
    192193            str_error(ret));
Note: See TracChangeset for help on using the changeset viewer.