Changeset afcd86e in mainline for uspace/drv/uhci-hcd/callback.c
- Timestamp:
- 2011-02-01T22:19:15Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c56dbe0
- Parents:
- 7ce0fe3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/callback.c
r7ce0fe3 rafcd86e 1 1 #include <errno.h> 2 2 #include <mem.h> 3 4 #include <usb/debug.h> 3 5 4 6 #include "callback.h" … … 12 14 instance->new_buffer = malloc32(size); 13 15 if (!instance->new_buffer) { 14 u hci_print_error("Failed to allocate device acessible buffer.\n");16 usb_log_error("Failed to allocate device acessible buffer.\n"); 15 17 return ENOMEM; 16 18 } … … 46 48 if (instance->callback_in) { 47 49 assert(instance->callback_out == NULL); 48 u hci_print_verbose("Callback in: %p %x %d.\n",50 usb_log_debug("Callback in: %p %x %d.\n", 49 51 instance->callback_in, outcome, act_size); 50 52 instance->callback_in( … … 53 55 assert(instance->callback_out); 54 56 assert(instance->callback_in == NULL); 55 u hci_print_verbose("Callback out: %p %p %x %p .\n",57 usb_log_debug("Callback out: %p %p %x %p .\n", 56 58 instance->callback_out, instance->dev, outcome, instance->arg); 57 59 instance->callback_out(
Note:
See TracChangeset
for help on using the changeset viewer.