Ignore:
File:
1 edited

Legend:

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

    r7de1988c r772a172  
    3535#define DRV_OHCI_HC_H
    3636
    37 #include <ddf/interrupt.h>
    3837#include <fibril.h>
    3938#include <fibril_synch.h>
    4039#include <adt/list.h>
    4140#include <ddi.h>
     41#include <ddf/interrupt.h>
    4242
    4343#include <usb/usb.h>
     
    4646#include "ohci_batch.h"
    4747#include "ohci_regs.h"
    48 #include "root_hub.h"
     48#include "ohci_rh.h"
    4949#include "endpoint_list.h"
    5050#include "hw_struct/hcca.h"
     
    5252/** Main OHCI driver structure */
    5353typedef struct hc {
    54         /** Generic USB hc driver */
    55         hcd_t generic;
    56 
    5754        /** Memory mapped I/O registers area */
    5855        ohci_regs_t *registers;
     
    7269
    7370        /** USB hub emulation structure */
    74         rh_t rh;
     71        ohci_rh_t rh;
    7572} hc_t;
    7673
    77 int hc_get_irq_code(irq_pio_range_t [], size_t, irq_cmd_t [], size_t,
    78     addr_range_t *);
    79 int hc_register_irq_handler(ddf_dev_t *, addr_range_t *, int,
    80     interrupt_handler_t);
     74int hc_gen_irq_code(irq_code_t *code, addr_range_t *regs);
    8175int hc_register_hub(hc_t *instance, ddf_fun_t *hub_fun);
    8276int hc_init(hc_t *instance, addr_range_t *regs, bool interrupts);
     
    9084void hc_enqueue_endpoint(hc_t *instance, const endpoint_t *ep);
    9185void hc_dequeue_endpoint(hc_t *instance, const endpoint_t *ep);
     86int hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch);
    9287
    9388void hc_interrupt(hc_t *instance, uint32_t status);
Note: See TracChangeset for help on using the changeset viewer.