Changeset 6143ce3 in mainline for uspace/drv/uhci-hcd/uhci.c
- Timestamp:
- 2011-03-13T15:37:28Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8850690
- Parents:
- eb0dc58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/uhci.c
reb0dc58 r6143ce3 437 437 int frnum = pio_read_16(&instance->registers->frnum) & 0x3ff; 438 438 439 uintptr_t expected_pa = instance->frame_list[frnum] & (~0xf); 439 uintptr_t expected_pa = instance->frame_list[frnum] 440 & LINK_POINTER_ADDRESS_MASK; 440 441 uintptr_t real_pa = addr_to_phys(QH(interrupt)); 441 442 if (expected_pa != real_pa) { … … 444 445 } 445 446 446 expected_pa = QH(interrupt)->next _queue & (~0xf);447 expected_pa = QH(interrupt)->next & LINK_POINTER_ADDRESS_MASK; 447 448 real_pa = addr_to_phys(QH(control_slow)); 448 449 if (expected_pa != real_pa) { … … 451 452 } 452 453 453 expected_pa = QH(control_slow)->next _queue & (~0xf);454 expected_pa = QH(control_slow)->next & LINK_POINTER_ADDRESS_MASK; 454 455 real_pa = addr_to_phys(QH(control_full)); 455 456 if (expected_pa != real_pa) { … … 458 459 } 459 460 460 expected_pa = QH(control_full)->next _queue & (~0xf);461 expected_pa = QH(control_full)->next & LINK_POINTER_ADDRESS_MASK; 461 462 real_pa = addr_to_phys(QH(bulk_full)); 462 463 if (expected_pa != real_pa ) {
Note:
See TracChangeset
for help on using the changeset viewer.