Changeset afcd86e in mainline for uspace/drv/uhci-hcd/callback.c


Ignore:
Timestamp:
2011-02-01T22:19:15Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c56dbe0
Parents:
7ce0fe3
Message:

Driver uhci-hcd uses unified debug log

File:
1 edited

Legend:

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

    r7ce0fe3 rafcd86e  
    11#include <errno.h>
    22#include <mem.h>
     3
     4#include <usb/debug.h>
    35
    46#include "callback.h"
     
    1214                instance->new_buffer = malloc32(size);
    1315                if (!instance->new_buffer) {
    14                         uhci_print_error("Failed to allocate device acessible buffer.\n");
     16                        usb_log_error("Failed to allocate device acessible buffer.\n");
    1517                        return ENOMEM;
    1618                }
     
    4648        if (instance->callback_in) {
    4749                assert(instance->callback_out == NULL);
    48                 uhci_print_verbose("Callback in: %p %x %d.\n",
     50                usb_log_debug("Callback in: %p %x %d.\n",
    4951                  instance->callback_in, outcome, act_size);
    5052                instance->callback_in(
     
    5355                assert(instance->callback_out);
    5456                assert(instance->callback_in == NULL);
    55                 uhci_print_verbose("Callback out: %p %p %x %p .\n",
     57                usb_log_debug("Callback out: %p %p %x %p .\n",
    5658                 instance->callback_out, instance->dev, outcome, instance->arg);
    5759                instance->callback_out(
Note: See TracChangeset for help on using the changeset viewer.