Changeset 4e78236 in mainline for uspace/lib/drv/generic/dev_iface.c


Ignore:
Timestamp:
2011-05-24T19:10:49Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d7c72db
Parents:
e7079cf
Message:

Fixed mkbd and corresponding library functions.

  • Fixed linking remote_usbhid.c
  • Added some temporary debug output.
  • Fix in hiddev.c.
File:
1 edited

Legend:

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

    re7079cf r4e78236  
    4646#include "remote_pci.h"
    4747
     48#include <stdio.h>
     49
    4850static iface_dipatch_table_t remote_ifaces = {
    4951        .ifaces = {
     
    5961remote_iface_t *get_remote_iface(int idx)
    6062{
     63        printf("get_remote_iface(): idx: %d\n", idx);
    6164        assert(is_valid_iface_idx(idx));
     65        printf("remote iface: %p\n", remote_ifaces.ifaces[idx]);
     66       
     67        printf("remote_usbhid_iface ptr: %p\n", &remote_usbhid_iface);
     68       
    6269        return remote_ifaces.ifaces[idx];
    6370}
     
    6673get_remote_method(remote_iface_t *rem_iface, sysarg_t iface_method_idx)
    6774{
     75        printf("remote iface: %p\n", rem_iface);
     76        printf("Method count: %d\n", rem_iface->method_count);
    6877        if (iface_method_idx >= rem_iface->method_count) {
    6978                return NULL;
Note: See TracChangeset for help on using the changeset viewer.