Changeset 5286a2c in mainline for uspace/drv/uhci/uhci.c


Ignore:
Timestamp:
2011-01-29T09:31:29Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
67a1b78
Parents:
d956aa5
Message:

Reduced debug level and made times shorter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/uhci.c

    rd956aa5 r5286a2c  
    225225        assert(instance);
    226226        while (1) {
    227                 uint16_t reg;
    228                 reg = pio_read_16(&instance->registers->usbcmd);
    229                 uhci_print_info("Command register: %X\n", reg);
    230                 reg = pio_read_16(&instance->registers->usbsts);
    231                 uhci_print_info("Status register: %X\n", reg);
     227                uint16_t cmd = pio_read_16(&instance->registers->usbcmd);
     228                uint16_t sts = pio_read_16(&instance->registers->usbsts);
     229                uhci_print_verbose("Command register: %X Status register: %X\n", cmd, sts);
    232230/*
    233231                uintptr_t frame_list = pio_read_32(&instance->registers->flbaseadd);
Note: See TracChangeset for help on using the changeset viewer.