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


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.c

    r7f810b3 r67352d2  
    125125                port_status_t port_status = uhci_port_read_status(instance);
    126126
    127                 uhci_port_print_status(instance, port_status);
     127                /* print the value if it's interesting */
     128                if (port_status & ~STATUS_ALWAYS_ONE)
     129                        uhci_port_print_status(instance, port_status);
    128130
    129131                if ((port_status & STATUS_CONNECTED_CHANGED) == 0)
Note: See TracChangeset for help on using the changeset viewer.