Changeset 41924f30 in mainline for uspace/drv/bus/usb/xhci/hc.c
- Timestamp:
- 2017-10-12T14:07:27Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a5976973
- Parents:
- 7e74911
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
r7e74911 r41924f30 447 447 448 448 /* Check for root hub communication */ 449 if (batch->ep-> address == xhci_rh_get_address(&hc->rh)) {449 if (batch->ep->target.address == xhci_rh_get_address(&hc->rh)) { 450 450 usb_log_debug("XHCI root hub request.\n"); 451 451 return xhci_rh_schedule(&hc->rh, batch); … … 453 453 454 454 usb_log_debug2("EP(%d:%d) started %s transfer of size %lu.", 455 batch->ep-> address, batch->ep->endpoint,455 batch->ep->target.address, batch->ep->target.endpoint, 456 456 usb_str_transfer_type(batch->ep->transfer_type), 457 457 batch->buffer_size); 458 458 459 if (!batch->ep-> address) {459 if (!batch->ep->target.address) { 460 460 usb_log_error("Attempted to schedule transfer to address 0."); 461 461 return EINVAL;
Note:
See TracChangeset
for help on using the changeset viewer.