Ignore:
Timestamp:
2014-01-26T03:08: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:
00bbc362
Parents:
3ee8dcd5
Message:

ehci: Reorganize debug messages

File:
1 edited

Legend:

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

    r3ee8dcd5 r46ec8112  
    285285            ehci_batch->tds[0], ehci_batch->tds[1], USB_DIRECTION_BOTH,
    286286            buffer, ehci_batch->usb_batch->setup_size, toggle, false);
    287         usb_log_debug("Created CONTROL SETUP TD(%"PRIxn"): %08x:%08x:%08x",
     287        usb_log_debug2("Created CONTROL SETUP TD(%"PRIxn"): %08x:%08x:%08x",
    288288            addr_to_phys(ehci_batch->tds[0]),
    289289            ehci_batch->tds[0]->status, ehci_batch->tds[0]->next,
     
    317317        assert(td_current == ehci_batch->td_count - 1);
    318318        td_init(ehci_batch->tds[td_current], NULL, status_dir, NULL, 0, 1, true);
    319         usb_log_debug("Created CONTROL STATUS TD(%"PRIxn"): %08x:%08x:%08x",
     319        usb_log_debug2("Created CONTROL STATUS TD(%"PRIxn"): %08x:%08x:%08x",
    320320            addr_to_phys(ehci_batch->tds[td_current]),
    321321            ehci_batch->tds[td_current]->status,
     
    323323            ehci_batch->tds[td_current]->alternate);
    324324
    325         usb_log_debug2(
     325        usb_log_debug(
    326326            "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized.\n", \
    327327            ehci_batch->usb_batch,
     
    345345        assert(dir == USB_DIRECTION_IN || dir == USB_DIRECTION_OUT);
    346346
    347         usb_log_debug2("Control QH: %08x:%08x:%08x:%08x:%08x:%08x",
     347        usb_log_debug("Control QH(%"PRIxn"): %08x:%08x:%08x:%08x:%08x:%08x",
     348            addr_to_phys(ehci_batch->qh),
    348349            ehci_batch->qh->ep_char, ehci_batch->qh->ep_cap,
    349350            ehci_batch->qh->status, ehci_batch->qh->current,
     
    361362                    dir, buffer, transfer_size, -1, remain_size == transfer_size);
    362363
    363                 usb_log_debug("Created DATA TD(%"PRIxn": %08x:%08x:%08x",
     364                usb_log_debug2("Created DATA TD(%"PRIxn": %08x:%08x:%08x",
    364365                    addr_to_phys(ehci_batch->tds[td_current]),
    365366                    ehci_batch->tds[td_current]->status,
     
    373374        }
    374375
    375         usb_log_debug2(
     376        usb_log_debug(
    376377            "Batch %p %s %s " USB_TRANSFER_BATCH_FMT " initialized",
    377378            ehci_batch->usb_batch,
Note: See TracChangeset for help on using the changeset viewer.