Changeset 0206d35 in mainline for uspace/drv/bus/usb/xhci/hc.h


Ignore:
Timestamp:
2017-10-25T00:03:57Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c3d926f3
Parents:
56db65d
Message:

Moving things around to improve isolation of responsibilities

Bus interface was simplified, xHCI implementation of address_device was spread into stack of rh → bus → hc and back.

File:
1 edited

Legend:

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

    r56db65d r0206d35  
    8383} xhci_hc_t;
    8484
     85typedef struct xhci_endpoint xhci_endpoint_t;
     86typedef struct xhci_device xhci_device_t;
     87
    8588int hc_init_mmio(xhci_hc_t *, const hw_res_list_parsed_t *);
    8689int hc_init_memory(xhci_hc_t *, ddf_dev_t *);
     
    9598int hc_enable_slot(xhci_hc_t *, uint32_t *);
    9699int hc_disable_slot(xhci_hc_t *, uint32_t);
    97 int hc_address_device(xhci_hc_t *, uint32_t, xhci_input_ctx_t *);
    98 int hc_address_rh_device(xhci_hc_t *, uint32_t, uint8_t, xhci_ep_ctx_t *);
     100int hc_address_device(xhci_hc_t *, xhci_device_t *, xhci_endpoint_t *);
    99101int hc_configure_device(xhci_hc_t *, uint32_t);
    100102int hc_deconfigure_device(xhci_hc_t *, uint32_t);
Note: See TracChangeset for help on using the changeset viewer.