Changeset e6b9182 in mainline for uspace/lib/usbhost/src/bus.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/lib/usbhost/src/bus.c

    r0a5833d7 re6b9182  
    4343 * Initializes the bus structure.
    4444 */
    45 void bus_init(bus_t *bus, hcd_t *hcd)
     45void bus_init(bus_t *bus)
    4646{
    4747        memset(bus, 0, sizeof(bus_t));
    4848
    49         bus->hcd = hcd;
    5049        fibril_mutex_initialize(&bus->guard);
    5150}
Note: See TracChangeset for help on using the changeset viewer.