Changeset 9e4f6a7 in mainline for uspace/drv/uhci-hcd/uhci.c


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

Add QH element pointer to debug output

File:
1 edited

Legend:

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

    rdcef3669 r9e4f6a7  
    172172        }
    173173
    174 
    175174        if (size >= 1024) {
    176175                usb_log_warning("Transfer too big.\n");
     
    235234                                current_list->name, it ? "SOMETHING" : "EMPTY");
    236235
    237                         if (it)
    238                                 usb_log_debug("First in queue: %p (%x).\n",
    239                                         it, it->status);
     236                        if (it) {
     237                                usb_log_debug("First in queue: %p (%x) PA:%x.\n",
     238                                        it, it->status, addr_to_phys((void*)it) );
     239                                usb_log_debug("First to send: %x\n",
     240                                        (current_list->queue_head->element & (~0xf)) );
     241                        }
    240242
    241243                        while (current_list->first &&
Note: See TracChangeset for help on using the changeset viewer.