Changeset d32d51d in mainline for uspace/drv/bus/usb/xhci/rh.h


Ignore:
Timestamp:
2017-08-20T12:01:35Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
07c08ea
Parents:
5ff9e1d
Message:

Updated RH implementation with virtual hub emulation structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/rh.h

    r5ff9e1d rd32d51d  
    3737#define XHCI_RH_H
    3838
     39#include <usb/host/usb_transfer_batch.h>
     40#include <usbvirt/virthub_base.h>
     41
     42/* XHCI root hub instance */
     43typedef struct {
     44        /** Virtual hub instance */
     45        virthub_base_t base;
     46} xhci_rh_t;
     47
     48int xhci_rh_init(xhci_rh_t *);
     49int xhci_rh_fini(xhci_rh_t *);
    3950int xhci_handle_port_status_change_event(xhci_hc_t *, xhci_trb_t *);
    4051int xhci_get_hub_port(xhci_trb_t *);
    4152int xhci_reset_hub_port(xhci_hc_t *, uint8_t);
     53int xhci_rh_schedule(xhci_rh_t *, usb_transfer_batch_t *);
    4254
    4355#endif
Note: See TracChangeset for help on using the changeset viewer.