Changeset e6b9182 in mainline for uspace/drv/bus/usb/xhci/main.c


Ignore:
Timestamp:
2017-10-13T08:49:29Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
741bcdeb
Parents:
0a5833d7
Message:

WIP usbhost refactoring: ohci completed

Along with that we noticed hcd_t in bus_t is superfluous and it complicates initialization (and breaks isolation), so we removed it. Also, type of the toggle has changed to bool in the functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/main.c

    r0a5833d7 re6b9182  
    8181                goto err;
    8282
    83         if ((err = xhci_bus_init(&hc->bus, hcd)))
    84                 goto err;
    85 
    8683        if ((err = hc_init_memory(hc)))
    8784                goto err;
     
    151148        hc_fini(hc);
    152149
    153         // FIXME: Probably move init/fini of XHCI bus into HC.
    154         xhci_bus_fini(&hc->bus);
    155 
    156150        free(hc);
    157151}
Note: See TracChangeset for help on using the changeset viewer.