Changes in uspace/drv/bus/usb/ohci/hc.h [e6b9182:8d2dd7f2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.h
re6b9182 r8d2dd7f2 52 52 #include "ohci_regs.h" 53 53 #include "ohci_rh.h" 54 #include "ohci_bus.h"55 54 #include "endpoint_list.h" 56 55 #include "hw_struct/hcca.h" … … 60 59 /** Memory mapped I/O registers area */ 61 60 ohci_regs_t *registers; 62 63 61 /** Host controller communication area structure */ 64 62 hcca_t *hcca; … … 66 64 /** Transfer schedules */ 67 65 endpoint_list_t lists[4]; 68 69 66 /** List of active transfers */ 70 67 list_t pending_batches; … … 81 78 /** USB hub emulation structure */ 82 79 ohci_rh_t rh; 83 84 /** USB bookkeeping */85 ohci_bus_t bus;86 80 } hc_t; 87 81 88 extern int hc_init(hc_t *, const hw_res_list_parsed_t *); 89 extern void hc_gain_control(hc_t *instance); 90 extern void hc_start(hc_t *instance); 82 extern int hc_init(hc_t *, const hw_res_list_parsed_t *, bool); 91 83 extern void hc_fini(hc_t *); 92 84 … … 94 86 extern void hc_dequeue_endpoint(hc_t *, const endpoint_t *); 95 87 96 int ohci_hc_gen_irq_code(irq_code_t *code, hcd_t *hcd,const hw_res_list_parsed_t *hw_res);88 int ohci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res); 97 89 98 90 extern void ohci_hc_interrupt(hcd_t *, uint32_t);
Note:
See TracChangeset
for help on using the changeset viewer.