Changes in uspace/drv/bus/usb/uhci/hc.c [b5111c46:da904f7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
rb5111c46 rda904f7 151 151 return rc; 152 152 } 153 153 154 154 irq_code_t irq_code = { 155 155 .rangecount = hc_irq_pio_range_count, … … 158 158 .cmds = irq_cmds 159 159 }; 160 161 162 163 164 165 166 167 168 160 161 /* Register handler to avoid interrupt lockup */ 162 rc = register_interrupt_handler(device, irq, handler, &irq_code); 163 if (rc != EOK) { 164 usb_log_error("Failed to register interrupt handler: %s.\n", 165 str_error(rc)); 166 return rc; 167 } 168 169 169 return EOK; 170 170 } … … 432 432 instance->transfers[USB_SPEED_FULL][USB_TRANSFER_BULK] = 433 433 &instance->transfers_bulk_full; 434 instance->transfers[USB_SPEED_LOW][USB_TRANSFER_BULK] = 435 &instance->transfers_bulk_full; 434 436 435 437 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.