Changeset 4090f66 in mainline for uspace/drv/bus/usb/ehci/ehci_batch.c


Ignore:
Timestamp:
2014-01-25T20:46:27Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b137d9e
Parents:
1803b7d
Message:

ehci: Fix phys addresses in debug output.

File:
1 edited

Legend:

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

    r1803b7d r4090f66  
    287287            buffer, ehci_batch->usb_batch->setup_size, toggle, false);
    288288        usb_log_debug("Created CONTROL SETUP TD(%"PRIxn"): %08x:%08x:%08x",
    289             addr_to_phys(ehci_batch->qh),
     289            addr_to_phys(ehci_batch->tds[0]),
    290290            ehci_batch->tds[0]->status, ehci_batch->tds[0]->next,
    291291            ehci_batch->tds[0]->alternate);
     
    304304                    transfer_size, toggle, false);
    305305                usb_log_debug2("Created CONTROL DATA TD(%"PRIxn"): %08x:%08x:%08x",
    306                     addr_to_phys(ehci_batch->qh),
     306                    addr_to_phys(ehci_batch->tds[td_current]),
    307307                    ehci_batch->tds[td_current]->status,
    308308                    ehci_batch->tds[td_current]->next,
     
    319319        td_init(ehci_batch->tds[td_current], NULL, status_dir, NULL, 0, 1, true);
    320320        usb_log_debug("Created CONTROL STATUS TD(%"PRIxn"): %08x:%08x:%08x",
    321             addr_to_phys(ehci_batch->qh),
     321            addr_to_phys(ehci_batch->tds[td_current]),
    322322            ehci_batch->tds[td_current]->status,
    323323            ehci_batch->tds[td_current]->next,
     
    363363
    364364                usb_log_debug("Created DATA TD(%"PRIxn": %08x:%08x:%08x",
    365                     addr_to_phys(ehci_batch->qh),
     365                    addr_to_phys(ehci_batch->tds[td_current]),
    366366                    ehci_batch->tds[td_current]->status,
    367367                    ehci_batch->tds[td_current]->next,
Note: See TracChangeset for help on using the changeset viewer.