Changeset 23678f3 in mainline for uspace/drv/bus/usb/ehci/ehci_batch.c


Ignore:
Timestamp:
2014-01-25T19:23:41Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3c404dc
Parents:
3c594ff9
Message:

ehci: Add phys address to batch creation debug messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/ehci_batch.c

    r3c594ff9 r23678f3  
    267267        assert(dir == USB_DIRECTION_IN || dir == USB_DIRECTION_OUT);
    268268
    269         usb_log_debug2("Control QH: %08x:%08x:%08x:%08x:%08x:%08x",
     269        usb_log_debug2("Control QH(%"PRIxn"): %08x:%08x:%08x:%08x:%08x:%08x",
     270            addr_to_phys(ehci_batch->qh),
    270271            ehci_batch->qh->ep_char, ehci_batch->qh->ep_cap,
    271272            ehci_batch->qh->status, ehci_batch->qh->current,
     
    285286            ehci_batch->tds[0], ehci_batch->tds[1], USB_DIRECTION_BOTH,
    286287            buffer, ehci_batch->usb_batch->setup_size, toggle, false);
    287         usb_log_debug("Created CONTROL SETUP TD: %08x:%08x:%08x",
     288        usb_log_debug("Created CONTROL SETUP TD(%"PRIxn"): %08x:%08x:%08x",
     289            addr_to_phys(ehci_batch->qh),
    288290            ehci_batch->tds[0]->status, ehci_batch->tds[0]->next,
    289291            ehci_batch->tds[0]->alternate);
     
    301303                    ehci_batch->tds[td_current + 1], data_dir, buffer,
    302304                    transfer_size, toggle, false);
    303                 usb_log_debug("Created CONTROL DATA TD: %08x:%08x:%08x",
     305                usb_log_debug2("Created CONTROL DATA TD(%"PRIxn"): %08x:%08x:%08x",
     306                    addr_to_phys(ehci_batch->qh),
    304307                    ehci_batch->tds[td_current]->status,
    305308                    ehci_batch->tds[td_current]->next,
     
    316319        td_init(ehci_batch->tds[td_current], ehci_batch->tds[td_current + 1],
    317320            status_dir, NULL, 0, 1, true);
    318         usb_log_debug("Created CONTROL STATUS TD: %08x:%08x:%08x",
     321        usb_log_debug("Created CONTROL STATUS TD(%"PRIxn"): %08x:%08x:%08x",
     322            addr_to_phys(ehci_batch->qh),
    319323            ehci_batch->tds[td_current]->status,
    320324            ehci_batch->tds[td_current]->next,
     
    359363                    dir, buffer, transfer_size, -1, remain_size == transfer_size);
    360364
    361                 usb_log_debug("Created DATA TD: %08x:%08x:%08x",
     365                usb_log_debug("Created DATA TD(%"PRIxn": %08x:%08x:%08x",
     366                    addr_to_phys(ehci_batch->qh),
    362367                    ehci_batch->tds[td_current]->status,
    363368                    ehci_batch->tds[td_current]->next,
Note: See TracChangeset for help on using the changeset viewer.