Changeset d09d108 in mainline
- Timestamp:
- 2017-10-05T08:06:38Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0a42d381
- Parents:
- 8afb485
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/hc.c
r8afb485 rd09d108 130 130 memcpy(code->cmds, ehci_irq_commands, sizeof(ehci_irq_commands)); 131 131 132 code->cmds[0].addr = (void *) &instance->registers->usbsts; 133 code->cmds[3].addr = (void *) &instance->registers->usbsts; 132 ehci_regs_t *registers = 133 (ehci_regs_t *)(RNGABSPTR(regs) + EHCI_RD8(instance->caps->caplength)); 134 code->cmds[0].addr = (void *) ®isters->usbsts; 135 code->cmds[3].addr = (void *) ®isters->usbsts; 134 136 EHCI_WR(code->cmds[1].value, EHCI_USED_INTERRUPTS); 135 137
Note:
See TracChangeset
for help on using the changeset viewer.