Ignore:
File:
1 edited

Legend:

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

    rfb1d4990 r67352d2  
    4444
    4545#include "port.h"
    46 #include "port_status.h"
    4746
    4847static int uhci_port_new_device(uhci_port_t *port, usb_speed_t speed);
     
    126125                port_status_t port_status = uhci_port_read_status(instance);
    127126
    128                 print_port_status(instance->id_string, 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);
    129130
    130131                if ((port_status & STATUS_CONNECTED_CHANGED) == 0)
     
    158159                        /* Write one to WC bits, to ack changes */
    159160                        uhci_port_write_status(instance, port_status);
    160                         usb_log_debug("%s: Change status ACK.\n",
     161                        usb_log_debug("%s: status change ACK.\n",
    161162                            instance->id_string);
    162163                }
Note: See TracChangeset for help on using the changeset viewer.