Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c86ca9a in mainline for uspace/lib/usbhost/src/usb_bus.c


Ignore:
Timestamp:
2015-06-29T00:35:29Z (6 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
master
Children:
68a61f19
Parents:
92900e2
Message:

libusbhost: Add more debugging output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb_bus.c

    r92900e2 rc86ca9a  
    3434
    3535#include <usb/host/usb_bus.h>
     36#include <usb/debug.h>
    3637
    3738#include <assert.h>
     
    244245
    245246        instance->free_bw -= ep->bandwidth;
     247        usb_log_debug("Registered EP(%d:%d:%s:%s)\n", ep->address, ep->endpoint,
     248            usb_str_transfer_type_short(ep->transfer_type),
     249            usb_str_direction(ep->direction));
    246250        fibril_mutex_unlock(&instance->guard);
    247251        return EOK;
     
    267271        list_remove(&ep->link);
    268272        instance->free_bw += ep->bandwidth;
     273        usb_log_debug("Unregistered EP(%d:%d:%s:%s)\n", ep->address,
     274            ep->endpoint, usb_str_transfer_type_short(ep->transfer_type),
     275            usb_str_direction(ep->direction));
    269276        fibril_mutex_unlock(&instance->guard);
    270277        return EOK;
Note: See TracChangeset for help on using the changeset viewer.