Changeset ff582d47 in mainline for uspace/drv/ohci/main.c


Ignore:
Timestamp:
2011-03-21T12:51:02Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be7950e8
Parents:
8627377
Message:

A really ugly way to register hub

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/main.c

    r8627377 rff582d47  
    179179        hc_fun->driver_data = hcd;
    180180
    181         hc_register_hub(hcd, device);
     181        fid_t later = fibril_create((int(*)(void*))hc_register_hub, hcd);
     182        fibril_add_ready(later);
    182183
    183184        usb_log_info("Controlling new OHCI device `%s' (handle %llu).\n",
Note: See TracChangeset for help on using the changeset viewer.