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

Changeset 947d788 in mainline for uspace/drv/vhc/vhcd.h


Ignore:
Timestamp:
2010-12-08T14:30:49Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
9501cced
Parents:
bb95594
Message:

Virtual HC uses unified usb_dprintf function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/vhcd.h

    rbb95594 r947d788  
    3636#define VHCD_VHCD_H_
    3737
     38#include <usb/debug.h>
     39
    3840#define NAME "vhc"
    3941#define NAME_DEV "hcd-virt-dev"
     
    4345#define DEVMAP_PATH_DEV NAMESPACE "/" NAME_DEV
    4446
    45 extern int debug_level;
    46 void dprintf(int, const char *, ...);
     47#define dprintf(level, format, ...) \
     48        usb_dprintf(NAME, (level), format "\n", ##__VA_ARGS__)
    4749void dprintf_inval_call(int, ipc_call_t, ipcarg_t);
    4850
Note: See TracChangeset for help on using the changeset viewer.