Changeset 65eac7b in mainline for uspace/drv/bus/usb/ohci/hc.c
- Timestamp:
- 2012-02-24T03:08:24Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 668a2e8
- Parents:
- 4e30369
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.c
r4e30369 r65eac7b 515 515 516 516 /* Enable queues */ 517 //OHCI_SET(instance->registers->control, (C_PLE | C_IE | C_CLE | C_BLE));518 //usb_log_debug("Queues enabled(%x).\n",519 //OHCI_RD(instance->registers->control));517 OHCI_SET(instance->registers->control, (C_PLE | C_IE | C_CLE | C_BLE)); 518 usb_log_debug("Queues enabled(%x).\n", 519 OHCI_RD(instance->registers->control)); 520 520 521 521 /* Enable interrupts */ … … 596 596 597 597 for (unsigned i = 0; i < 32; ++i) { 598 instance->hcca->int_ep[i] =599 instance->lists[USB_TRANSFER_INTERRUPT].list_head_pa ;598 OHCI_WR(instance->hcca->int_ep[i], 599 instance->lists[USB_TRANSFER_INTERRUPT].list_head_pa); 600 600 } 601 601 usb_log_debug2("Interrupt HEADs set to: %p (%#" PRIx32 ").\n",
Note:
See TracChangeset
for help on using the changeset viewer.