Changeset 132ab5d1 in mainline for uspace/drv/bus/usb/uhci
- Timestamp:
- 2018-01-30T03:20:45Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a6cc679
- Parents:
- 8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/drv/bus/usb/uhci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
r8bfb163 r132ab5d1 106 106 * @param[out] code IRQ code structure. 107 107 * @param[in] hw_res Device's resources. 108 * @param[out] irq 108 109 * 109 110 * @return Error code. 110 111 */ 111 int hc_gen_irq_code(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res )112 int hc_gen_irq_code(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq) 112 113 { 113 114 assert(code); … … 145 146 RNGABSPTR(regs), RNGSZ(regs), hw_res->irqs.irqs[0]); 146 147 147 return hw_res->irqs.irqs[0]; 148 *irq = hw_res->irqs.irqs[0]; 149 return EOK; 148 150 } 149 151 -
uspace/drv/bus/usb/uhci/hc.h
r8bfb163 r132ab5d1 158 158 159 159 extern int hc_add(hc_device_t *, const hw_res_list_parsed_t *); 160 extern int hc_gen_irq_code(irq_code_t *, hc_device_t *, const hw_res_list_parsed_t * );160 extern int hc_gen_irq_code(irq_code_t *, hc_device_t *, const hw_res_list_parsed_t *, int *); 161 161 extern int hc_start(hc_device_t *); 162 162 extern int hc_setup_roothub(hc_device_t *);
Note:
See TracChangeset
for help on using the changeset viewer.
