Changeset 77ded647 in mainline for uspace/drv/bus/usb/xhci/commands.c
- Timestamp:
- 2018-02-01T11:42:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3e6ff9a
- Parents:
- 17d34a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/commands.c
r17d34a8 r77ded647 242 242 cr_set_state(cr, XHCI_CR_STATE_CLOSED); 243 243 244 /* Some systems, inc. QEMU, need whole 64-bit qword to be written */245 244 XHCI_REG_SET(hc->op_regs, XHCI_OP_CS, 1); 246 XHCI_REG_SET(hc->op_regs, XHCI_OP_CRCR_HI, 0);247 245 248 246 while (XHCI_REG_RD(hc->op_regs, XHCI_OP_CRR)) … … 283 281 static void abort_command_ring(xhci_hc_t *hc) 284 282 { 285 /* Some systems, inc. QEMU, need whole 64-bit qword to be written */286 283 XHCI_REG_SET(hc->op_regs, XHCI_OP_CA, 1); 287 XHCI_REG_SET(hc->op_regs, XHCI_OP_CRCR_HI, 0);288 284 } 289 285
Note:
See TracChangeset
for help on using the changeset viewer.