Changeset c95c00e in mainline for uspace/drv/bus/usb/uhci/hc.c
- Timestamp:
- 2013-01-06T02:46:00Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3848fec
- Parents:
- ea30cc1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
rea30cc1 rc95c00e 130 130 memcpy(cmds, uhci_irq_commands, sizeof(uhci_irq_commands)); 131 131 uhci_regs_t *registers = (uhci_regs_t *) regs; 132 cmds[0].addr = ®isters->usbsts;133 cmds[3].addr = ®isters->usbsts;132 cmds[0].addr = (void*)®isters->usbsts; 133 cmds[3].addr = (void*)®isters->usbsts; 134 134 135 135 return EOK; … … 242 242 } 243 243 (void)hc_debug_checker; 244 245 uhci_rh_init(&instance->rh, &instance->registers->ports[0]); 244 246 245 247 return EOK; … … 406 408 assert(instance); 407 409 assert(batch); 410 411 // if (batch->ep->address == uhci_rh_get_address(&instance->rh)) 412 // return uhci_rh_schedule(&instance->rh, batch); 413 408 414 uhci_transfer_batch_t *uhci_batch = uhci_transfer_batch_get(batch); 409 415 if (!uhci_batch) {
Note:
See TracChangeset
for help on using the changeset viewer.