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

Changeset e7079cf in mainline


Ignore:
Timestamp:
2011-05-20T13:02:54Z (11 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master
Children:
4e78236
Parents:
e765ccb
Message:

Some debugging output.

Location:
uspace/lib/drv/generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    re765ccb re7079cf  
    346346                sysarg_t method = IPC_GET_IMETHOD(call);
    347347                int iface_idx;
     348               
     349                printf("driver_connection_gen(): method: %d\n", method);
    348350               
    349351                switch  (method) {
     
    405407                                /* The interface has not such method */
    406408                                printf("%s: driver_connection_gen error - "
    407                                     "invalid interface method.", driver->name);
     409                                    "invalid interface method (%d).\n",
     410                                    driver->name, iface_method_idx);
    408411                                async_answer_0(callid, ENOTSUP);
    409412                                break;
  • uspace/lib/drv/generic/remote_usbhid.c

    re765ccb re7079cf  
    6464    ipc_callid_t callid, ipc_call_t *call)
    6565{
     66        printf("remote_usbhid_get_event_length()\n");
     67       
    6668        usbhid_iface_t *hid_iface = (usbhid_iface_t *) iface;
    6769
    6870        if (!hid_iface->get_event_length) {
     71                printf("Get event length not set!\n");
    6972                async_answer_0(callid, ENOTSUP);
    7073                return;
Note: See TracChangeset for help on using the changeset viewer.