Ignore:
File:
1 edited

Legend:

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

    r8d2dd7f2 r741bcdeb  
    8080        /** USB hub emulation structure */
    8181        ehci_rh_t rh;
     82
     83        /** USB bookkeeping */
     84        ehci_bus_t bus;
    8285} hc_t;
    8386
    84 int hc_init(hc_t *instance, const hw_res_list_parsed_t *hw_res, bool interrupts);
     87int hc_init(hc_t *instance, const hw_res_list_parsed_t *hw_res);
     88int hc_start(hc_t *instance, bool interrupts);
    8589void hc_fini(hc_t *instance);
    8690
     
    8892void hc_dequeue_endpoint(hc_t *instance, const endpoint_t *ep);
    8993
    90 int ehci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res);
     94int ehci_hc_gen_irq_code(irq_code_t *code, hcd_t *hcd, const hw_res_list_parsed_t *hw_res);
    9195
    9296void ehci_hc_interrupt(hcd_t *hcd, uint32_t status);
Note: See TracChangeset for help on using the changeset viewer.