Ignore:
File:
1 edited

Legend:

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

    r8d2dd7f2 re6b9182  
    5252#include "ohci_regs.h"
    5353#include "ohci_rh.h"
     54#include "ohci_bus.h"
    5455#include "endpoint_list.h"
    5556#include "hw_struct/hcca.h"
     
    5960        /** Memory mapped I/O registers area */
    6061        ohci_regs_t *registers;
     62       
    6163        /** Host controller communication area structure */
    6264        hcca_t *hcca;
     
    6466        /** Transfer schedules */
    6567        endpoint_list_t lists[4];
     68
    6669        /** List of active transfers */
    6770        list_t pending_batches;
     
    7881        /** USB hub emulation structure */
    7982        ohci_rh_t rh;
     83
     84        /** USB bookkeeping */
     85        ohci_bus_t bus;
    8086} hc_t;
    8187
    82 extern int hc_init(hc_t *, const hw_res_list_parsed_t *, bool);
     88extern int hc_init(hc_t *, const hw_res_list_parsed_t *);
     89extern void hc_gain_control(hc_t *instance);
     90extern void hc_start(hc_t *instance);
    8391extern void hc_fini(hc_t *);
    8492
     
    8694extern void hc_dequeue_endpoint(hc_t *, const endpoint_t *);
    8795
    88 int ohci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res);
     96int ohci_hc_gen_irq_code(irq_code_t *code, hcd_t *hcd, const hw_res_list_parsed_t *hw_res);
    8997
    9098extern void ohci_hc_interrupt(hcd_t *, uint32_t);
Note: See TracChangeset for help on using the changeset viewer.