Changeset 67352d2 in mainline for uspace/drv/uhci-hcd/uhci.c


Ignore:
Timestamp:
2011-03-12T22:35:30Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f3e68c, eb0dc58
Parents:
7f810b3
Message:

Debug output fixes and refactoring (less spam, more readability)

File:
1 edited

Legend:

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

    r7f810b3 r67352d2  
    436436
    437437                int frnum = pio_read_16(&instance->registers->frnum) & 0x3ff;
    438                 usb_log_debug2("Framelist item: %d \n", frnum );
    439438
    440439                uintptr_t expected_pa = instance->frame_list[frnum] & (~0xf);
    441440                uintptr_t real_pa = addr_to_phys(QH(interrupt));
    442441                if (expected_pa != real_pa) {
    443                         usb_log_debug("Interrupt QH: %p vs. %p.\n",
    444                             expected_pa, real_pa);
     442                        usb_log_debug("Interrupt QH: %p(frame: %d) vs. %p.\n",
     443                            expected_pa, frnum, real_pa);
    445444                }
    446445
Note: See TracChangeset for help on using the changeset viewer.