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


Ignore:
Timestamp:
2011-12-26T17:21:21Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b56a8dd
Parents:
cf5c05c0 (diff), 7e1b130 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Mainline changes.

File:
1 edited

Legend:

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

    rcf5c05c0 rb39eb79  
    137137                return ret;
    138138        }
    139         usb_device_manager_bind_address(&instance->generic.dev_manager,
    140             instance->rh.address, hub_fun->handle);
    141139
    142140#define CHECK_RET_UNREG_RETURN(ret, message...) \
     
    150148        return ret; \
    151149} else (void)0
     150
    152151        ret = usb_endpoint_manager_add_ep(
    153152            &instance->generic.ep_manager, instance->rh.address, 0,
     
    165164        CHECK_RET_UNREG_RETURN(ret,
    166165            "Failed to bind root hub function: %s.\n", str_error(ret));
     166
     167        ret = usb_device_manager_bind_address(&instance->generic.dev_manager,
     168            instance->rh.address, hub_fun->handle);
     169        if (ret != EOK)
     170                usb_log_warning("Failed to bind root hub address: %s.\n",
     171                    str_error(ret));
    167172
    168173        return EOK;
Note: See TracChangeset for help on using the changeset viewer.