Ignore:
File:
1 edited

Legend:

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

    rcffa14e6 r7de1988c  
    3636#define DRV_UHCI_HC_H
    3737
     38#include <ddf/interrupt.h>
     39#include <device/hw_res_parsed.h>
    3840#include <fibril.h>
    3941#include <usb/host/hcd.h>
     
    119121} hc_t;
    120122
    121 size_t hc_irq_pio_range_count(void);
    122 size_t hc_irq_cmd_count(void);
    123 int hc_get_irq_code(irq_pio_range_t [], size_t, irq_cmd_t [], size_t, uintptr_t,
    124     size_t);
     123int hc_register_irq_handler(ddf_dev_t *, addr_range_t *, int,
     124    interrupt_handler_t);
     125int hc_get_irq_code(irq_pio_range_t [], size_t, irq_cmd_t [], size_t,
     126    addr_range_t *);
    125127void hc_interrupt(hc_t *instance, uint16_t status);
    126 int hc_init(hc_t *instance, void *regs, size_t reg_size, bool interupts);
     128int hc_init(hc_t *instance, addr_range_t *regs, bool interupts);
    127129
    128130/** Safely dispose host controller internal structures
     
    132134static inline void hc_fini(hc_t *instance) {} /* TODO: implement*/
    133135#endif
     136
    134137/**
    135138 * @}
Note: See TracChangeset for help on using the changeset viewer.