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

    r0a5833d7 re6b9182  
    4545#include <usb/debug.h>
    4646#include <usb/host/ddf_helpers.h>
    47 #include <usb/host/bandwidth.h>
    4847
    4948#include "hc.h"
     
    8281
    8382        if ((err = hc_init(instance, res)) != EOK)
    84                 goto err;
    85 
    86         if ((err = usb2_bus_init(&instance->bus, hcd, BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11)))
    8783                goto err;
    8884
Note: See TracChangeset for help on using the changeset viewer.