Changeset 933b0d7 in mainline for uspace/drv/bus/usb/uhci/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/uhci/hc.c

    r7099861 r933b0d7  
    192192            "Device registers at %p (%zuB) accessible.\n", io, reg_size);
    193193
    194         ret = hcd_init(&instance->generic, BANDWIDTH_AVAILABLE_USB11);
     194        ret = hcd_init(&instance->generic, BANDWIDTH_AVAILABLE_USB11,
     195            bandwidth_count_usb11);
    195196        CHECK_RET_RETURN(ret, "Failed to initialize HCD generic driver: %s.\n",
    196197            str_error(ret));
Note: See TracChangeset for help on using the changeset viewer.