Changeset 6cd7b17 in mainline


Ignore:
Timestamp:
2011-02-11T14:49:29Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
687efaa
Parents:
f96aefc
Message:

Add warnings reduce timeout

Location:
uspace/drv/uhci-hcd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/iface.c

    rf96aefc r6cd7b17  
    166166    usbhc_iface_transfer_out_callback_t callback, void *arg)
    167167{
    168         usb_log_warning("Using deprecated API control write setup.\n");
     168        usb_log_warning("Using deprecated API %s.\n", __FUNCTION__);
    169169        tracker_t *tracker = tracker_get(dev, target, USB_TRANSFER_CONTROL,
    170170            8, FULL_SPEED, data, size, NULL, callback, arg);
     
    179179    usbhc_iface_transfer_out_callback_t callback, void *arg)
    180180{
     181        usb_log_warning("Using deprecated API %s.\n", __FUNCTION__);
    181182        tracker_t *tracker = tracker_get(dev, target, USB_TRANSFER_CONTROL,
    182183            size, FULL_SPEED, data, size, NULL, callback, arg);
     
    190191    usbhc_iface_transfer_in_callback_t callback, void *arg)
    191192{
     193        usb_log_warning("Using deprecated API %s.\n", __FUNCTION__);
    192194        tracker_t *tracker = tracker_get(dev, target, USB_TRANSFER_CONTROL,
    193195            0, FULL_SPEED, NULL, 0, callback, NULL, arg);
     
    202204    usbhc_iface_transfer_out_callback_t callback, void *arg)
    203205{
    204         usb_log_warning("Using deprecated API control read setup.\n");
     206        usb_log_warning("Using deprecated API %s.\n", __FUNCTION__);
    205207        tracker_t *tracker = tracker_get(dev, target, USB_TRANSFER_CONTROL,
    206208            8, FULL_SPEED, data, size, NULL, callback, arg);
     
    215217    usbhc_iface_transfer_in_callback_t callback, void *arg)
    216218{
     219        usb_log_warning("Using deprecated API %s.\n", __FUNCTION__);
    217220        tracker_t *tracker = tracker_get(dev, target, USB_TRANSFER_CONTROL,
    218221            size, FULL_SPEED, data, size, callback, NULL, arg);
     
    226229    usbhc_iface_transfer_out_callback_t callback, void *arg)
    227230{
     231        usb_log_warning("Using deprecated API %s.\n", __FUNCTION__);
    228232        tracker_t *tracker = tracker_get(dev, target, USB_TRANSFER_CONTROL,
    229233            0, FULL_SPEED, NULL, 0, NULL, callback, arg);
  • uspace/drv/uhci-hcd/uhci.h

    rf96aefc r6cd7b17  
    7272
    7373#define UHCI_FRAME_LIST_COUNT 1024
    74 #define UHCI_CLEANER_TIMEOUT 10000
     74#define UHCI_CLEANER_TIMEOUT 1000
    7575#define UHCI_DEBUGER_TIMEOUT 5000000
    7676
Note: See TracChangeset for help on using the changeset viewer.