Changeset 6f8f808 in mainline


Ignore:
Timestamp:
2011-02-04T14:22:31Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
458e40c, e778543
Parents:
ef7f043
Message:

Enabled fully new logging in USB hub driver

Location:
uspace/drv/usbhub
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/main.c

    ref7f043 r6f8f808  
    6565int main(int argc, char *argv[])
    6666{
    67         usb_dprintf_enable(NAME, USB_LOG_LEVEL_INFO);
     67        usb_log_enable(USB_LOG_LEVEL_INFO, NAME);
    6868       
    6969        fibril_mutex_initialize(&usb_hub_list_lock);
  • uspace/drv/usbhub/usbhub_private.h

    ref7f043 r6f8f808  
    6565//************
    6666#define dprintf(level, format, ...) \
    67         usb_dprintf(NAME, (level), format "\n", ##__VA_ARGS__)
     67        usb_log_printf((level), format "\n", ##__VA_ARGS__)
    6868
    6969
Note: See TracChangeset for help on using the changeset viewer.