Changeset 4d12eda in mainline


Ignore:
Timestamp:
2018-01-25T19:40:54Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
629255a
Parents:
4287578
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-25 19:39:22)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-25 19:40:54)
Message:

xhci: transfer events must be fast

When a roothub connected device is disconnected during enumeration,
it may wait for the descriptor read, but the event is blocked by fibril
waiting until the enumeration finishes.

File:
1 edited

Legend:

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

    r4287578 r4d12eda  
    564564static event_handler event_handlers [] = {
    565565        [XHCI_TRB_TYPE_PORT_STATUS_CHANGE_EVENT] = &handle_port_status_change_event,
    566         [XHCI_TRB_TYPE_TRANSFER_EVENT] = &xhci_handle_transfer_event,
    567566};
    568567
     
    574573        [XHCI_TRB_TYPE_COMMAND_COMPLETION_EVENT] = &xhci_handle_command_completion,
    575574        [XHCI_TRB_TYPE_MFINDEX_WRAP_EVENT] = &xhci_handle_mfindex_wrap_event,
     575        [XHCI_TRB_TYPE_TRANSFER_EVENT] = &xhci_handle_transfer_event,
    576576};
    577577
Note: See TracChangeset for help on using the changeset viewer.