Changeset 3848fec in mainline


Ignore:
Timestamp:
2013-01-06T02:47:45Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
74271e0
Parents:
c95c00e
Message:

uhci: Switch to new emulated root hub.

Location:
uspace/drv/bus/usb/uhci
Files:
2 edited

Legend:

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

    rc95c00e r3848fec  
    409409        assert(batch);
    410410
    411 //      if (batch->ep->address == uhci_rh_get_address(&instance->rh))
    412 //              return uhci_rh_schedule(&instance->rh, batch);
     411        if (batch->ep->address == uhci_rh_get_address(&instance->rh))
     412                return uhci_rh_schedule(&instance->rh, batch);
    413413
    414414        uhci_transfer_batch_t *uhci_batch = uhci_transfer_batch_get(batch);
  • uspace/drv/bus/usb/uhci/uhci.c

    rc95c00e r3848fec  
    159159} else (void)0
    160160
    161         ret = rh_init(device, (uintptr_t)hc->registers + 0x10, 4,
    162             ddf_fun_get_handle(hc_fun));
    163 //      ret = hcd_ddf_setup_root_hub(device, USB_SPEED_FULL);
     161//      ret = rh_init(device, (uintptr_t)hc->registers + 0x10, 4,
     162//          ddf_fun_get_handle(hc_fun));
     163        ret = hcd_ddf_setup_root_hub(device, USB_SPEED_FULL);
    164164        CHECK_RET_FINI_RETURN(ret,
    165165            "Failed to setup UHCI root hub: %s.\n", str_error(ret));
Note: See TracChangeset for help on using the changeset viewer.