Changeset 6de4b4a1 in mainline


Ignore:
Timestamp:
2015-07-03T22:48:44Z (9 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
954d590
Parents:
090eea68
Message:

ehci/ep: Consolidate debug messages

File:
1 edited

Legend:

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

    r090eea68 r6de4b4a1  
    5252        assert(instance->qh);
    5353        if (qh_toggle_from_td(instance->qh))
    54                 usb_log_warning("Setting toggle bit for transfer directed EP\n");
     54                usb_log_warning("EP(%p): Setting toggle bit for transfer "
     55                    "directed EP", instance);
    5556        qh_toggle_set(instance->qh, toggle);
    5657}
     
    6768        assert(instance->qh);
    6869        if (qh_toggle_from_td(instance->qh))
    69                 usb_log_warning("Reading useless toggle bit\n");
     70                usb_log_warning("EP(%p): Reading useless toggle bit", instance);
    7071        return qh_toggle_get(instance->qh);
    7172}
     
    8990        }
    9091
     92        usb_log_debug2("EP(%p): Creating for %p", ehci_ep, ep);
    9193        link_initialize(&ehci_ep->link);
    9294        qh_init(ehci_ep->qh, ep);
     
    109111        hc_dequeue_endpoint(hcd->driver.data, ep);
    110112        endpoint_clear_hc_data(ep);
     113        usb_log_debug2("EP(%p): Destroying for %p", instance, ep);
    111114        if (instance) {
    112115                free32(instance->qh);
Note: See TracChangeset for help on using the changeset viewer.