Changeset 77ded647 in mainline for uspace/drv/bus/usb/xhci/commands.c


Ignore:
Timestamp:
2018-02-01T11:42:11Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e6ff9a
Parents:
17d34a8
Message:

xhci: do not avoid 64-bit writes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/commands.c

    r17d34a8 r77ded647  
    242242        cr_set_state(cr, XHCI_CR_STATE_CLOSED);
    243243
    244         /* Some systems, inc. QEMU, need whole 64-bit qword to be written */
    245244        XHCI_REG_SET(hc->op_regs, XHCI_OP_CS, 1);
    246         XHCI_REG_SET(hc->op_regs, XHCI_OP_CRCR_HI, 0);
    247245
    248246        while (XHCI_REG_RD(hc->op_regs, XHCI_OP_CRR))
     
    283281static void abort_command_ring(xhci_hc_t *hc)
    284282{
    285         /* Some systems, inc. QEMU, need whole 64-bit qword to be written */
    286283        XHCI_REG_SET(hc->op_regs, XHCI_OP_CA, 1);
    287         XHCI_REG_SET(hc->op_regs, XHCI_OP_CRCR_HI, 0);
    288284}
    289285
Note: See TracChangeset for help on using the changeset viewer.