Changeset 7bd99bf in mainline for uspace/drv/bus/usb/xhci/hc.c


Ignore:
Timestamp:
2017-07-14T17:28:06Z (8 years ago)
Author:
Michal Staruch <salmelu@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c058a388
Parents:
05aeee0e
Message:

Added roothub communication for adding devices.

File:
1 edited

Legend:

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

    r05aeee0e r7bd99bf  
    4040#include "debug.h"
    4141#include "hc.h"
     42#include "rh.h"
    4243#include "hw_struct/trb.h"
    4344#include "commands.h"
     
    360361static void hc_handle_event(xhci_hc_t *hc, xhci_trb_t *trb)
    361362{
     363        usb_log_debug2("TRB event encountered.");
    362364        switch (TRB_TYPE(*trb)) {
    363365                case XHCI_TRB_TYPE_COMMAND_COMPLETION_EVENT:
    364366                        xhci_handle_command_completion(hc, trb);
     367                        break;
     368                case XHCI_TRB_TYPE_PORT_STATUS_CHANGE_EVENT:
     369                        xhci_handle_port_status_change_event(hc, trb);
    365370                        break;
    366371                default:
Note: See TracChangeset for help on using the changeset viewer.