Changeset e4d7363 in mainline for uspace/drv/bus/usb/uhci/hc.c
- Timestamp:
- 2017-06-22T21:34:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 91ca111
- Parents:
- cb89430
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
rcb89430 re4d7363 106 106 * @return Error code. 107 107 */ 108 int uhci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res)108 int uhci_hc_gen_irq_code(irq_code_t *code, hcd_t *hcd, const hw_res_list_parsed_t *hw_res) 109 109 { 110 110 assert(code); … … 214 214 * interrupt fibrils. 215 215 */ 216 int hc_init(hc_t *instance, const hw_res_list_parsed_t *hw_res , bool interrupts)216 int hc_init(hc_t *instance, const hw_res_list_parsed_t *hw_res) 217 217 { 218 218 assert(instance); … … 222 222 return EINVAL; 223 223 224 instance->hw_interrupts = interrupts;225 224 instance->hw_failures = 0; 226 225 … … 246 245 } 247 246 247 return EOK; 248 } 249 250 void hc_start(hc_t *instance) 251 { 248 252 hc_init_hw(instance); 249 253 (void)hc_debug_checker; 250 254 251 255 uhci_rh_init(&instance->rh, instance->registers->ports, "uhci"); 252 253 return EOK;254 256 } 255 257
Note:
See TracChangeset
for help on using the changeset viewer.