Changes in uspace/drv/bus/usb/ohci/hc.h [7de1988c:772a172] in mainline
- File:
-
- 1 edited
-
uspace/drv/bus/usb/ohci/hc.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.h
r7de1988c r772a172 35 35 #define DRV_OHCI_HC_H 36 36 37 #include <ddf/interrupt.h>38 37 #include <fibril.h> 39 38 #include <fibril_synch.h> 40 39 #include <adt/list.h> 41 40 #include <ddi.h> 41 #include <ddf/interrupt.h> 42 42 43 43 #include <usb/usb.h> … … 46 46 #include "ohci_batch.h" 47 47 #include "ohci_regs.h" 48 #include " root_hub.h"48 #include "ohci_rh.h" 49 49 #include "endpoint_list.h" 50 50 #include "hw_struct/hcca.h" … … 52 52 /** Main OHCI driver structure */ 53 53 typedef struct hc { 54 /** Generic USB hc driver */55 hcd_t generic;56 57 54 /** Memory mapped I/O registers area */ 58 55 ohci_regs_t *registers; … … 72 69 73 70 /** USB hub emulation structure */ 74 rh_t rh;71 ohci_rh_t rh; 75 72 } hc_t; 76 73 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); 74 int hc_gen_irq_code(irq_code_t *code, addr_range_t *regs); 81 75 int hc_register_hub(hc_t *instance, ddf_fun_t *hub_fun); 82 76 int hc_init(hc_t *instance, addr_range_t *regs, bool interrupts); … … 90 84 void hc_enqueue_endpoint(hc_t *instance, const endpoint_t *ep); 91 85 void hc_dequeue_endpoint(hc_t *instance, const endpoint_t *ep); 86 int hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch); 92 87 93 88 void hc_interrupt(hc_t *instance, uint32_t status);
Note:
See TracChangeset
for help on using the changeset viewer.
