Changeset 6143ce3 in mainline for uspace/drv/uhci-hcd/uhci.c


Ignore:
Timestamp:
2011-03-13T15:37:28Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8850690
Parents:
eb0dc58
Message:

Rename queue_head_t ⇒ qh_t

Refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/uhci.c

    reb0dc58 r6143ce3  
    437437                int frnum = pio_read_16(&instance->registers->frnum) & 0x3ff;
    438438
    439                 uintptr_t expected_pa = instance->frame_list[frnum] & (~0xf);
     439                uintptr_t expected_pa = instance->frame_list[frnum]
     440                    & LINK_POINTER_ADDRESS_MASK;
    440441                uintptr_t real_pa = addr_to_phys(QH(interrupt));
    441442                if (expected_pa != real_pa) {
     
    444445                }
    445446
    446                 expected_pa = QH(interrupt)->next_queue & (~0xf);
     447                expected_pa = QH(interrupt)->next & LINK_POINTER_ADDRESS_MASK;
    447448                real_pa = addr_to_phys(QH(control_slow));
    448449                if (expected_pa != real_pa) {
     
    451452                }
    452453
    453                 expected_pa = QH(control_slow)->next_queue & (~0xf);
     454                expected_pa = QH(control_slow)->next & LINK_POINTER_ADDRESS_MASK;
    454455                real_pa = addr_to_phys(QH(control_full));
    455456                if (expected_pa != real_pa) {
     
    458459                }
    459460
    460                 expected_pa = QH(control_full)->next_queue & (~0xf);
     461                expected_pa = QH(control_full)->next & LINK_POINTER_ADDRESS_MASK;
    461462                real_pa = addr_to_phys(QH(bulk_full));
    462463                if (expected_pa != real_pa ) {
Note: See TracChangeset for help on using the changeset viewer.