Changes in uspace/drv/ohci/hc.h [62265ce:7013b14] in mainline


Ignore:
File:
1 edited

Legend:

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

    r62265ce r7013b14  
    5151#include "hw_struct/hcca.h"
    5252
    53 #define OHCI_NEEDED_IRQ_COMMANDS 5
    54 
    5553typedef struct hc {
    5654        ohci_regs_t *registers;
     
    6765        fid_t interrupt_emulator;
    6866        fibril_mutex_t guard;
    69 
    70         /** Code to be executed in kernel interrupt handler */
    71         irq_code_t interrupt_code;
    72 
    73         /** Commands that form interrupt code */
    74         irq_cmd_t interrupt_commands[OHCI_NEEDED_IRQ_COMMANDS];
    7567} hc_t;
    7668
    7769int hc_register_hub(hc_t *instance, ddf_fun_t *hub_fun);
    7870
    79 int hc_init(hc_t *instance, uintptr_t regs, size_t reg_size, bool interrupts);
    80 
    81 void hc_start_hw(hc_t *instance);
     71int hc_init(hc_t *instance, ddf_fun_t *fun, ddf_dev_t *dev,
     72     uintptr_t regs, size_t reg_size, bool interrupts);
    8273
    8374/** Safely dispose host controller internal structures
Note: See TracChangeset for help on using the changeset viewer.