Changeset 67352d2 in mainline for uspace/drv/uhci-rhd/port.h


Ignore:
Timestamp:
2011-03-12T22:35:30Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f3e68c, eb0dc58
Parents:
7f810b3
Message:

Debug output fixes and refactoring (less spam, more readability)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/port.h

    r7f810b3 r67352d2  
    9191{
    9292        assert(port);
    93         usb_log_debug2("%s Port status:%s%s%s%s%s%s%s%s.\n",
    94             port->id_string,
     93        usb_log_debug2("%s Port status(%#x):%s%s%s%s%s%s%s%s%s%s%s.\n",
     94            port->id_string, value,
    9595            (value & STATUS_SUSPEND) ? " SUSPENDED," : "",
     96            (value & STATUS_RESUME) ? " IN RESUME," : "",
    9697            (value & STATUS_IN_RESET) ? " IN RESET," : "",
     98            (value & STATUS_LINE_D_MINUS) ? " VD-," : "",
     99            (value & STATUS_LINE_D_PLUS) ? " VD+," : "",
    97100            (value & STATUS_LOW_SPEED) ? " LOWSPEED," : "",
    98101            (value & STATUS_ENABLED_CHANGED) ? " ENABLED-CHANGE," : "",
Note: See TracChangeset for help on using the changeset viewer.