Changeset acce4fc in mainline


Ignore:
Timestamp:
2011-02-18T13:46:55Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e221ca0
Parents:
890af992
Message:

debug output changes

Location:
uspace/drv/uhci-hcd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/main.c

    r890af992 racce4fc  
    106106        }
    107107
    108         ret = register_interrupt_handler(device, irq, irq_handler, NULL);
    109         usb_log_error("registered interrupt handler %d.\n", ret);
    110 
    111108        usb_log_info("I/O regs at 0x%X (size %zu), IRQ %d.\n",
    112109            io_reg_base, io_reg_size, irq);
     110
     111        ret = register_interrupt_handler(device, irq, irq_handler, NULL);
     112        usb_log_debug("Registered interrupt handler %d.\n", ret);
    113113
    114114        uhci_t *uhci_hc = malloc(sizeof(uhci_t));
  • uspace/drv/uhci-hcd/uhci.c

    r890af992 racce4fc  
    101101        int ret = uhci_init_transfer_lists(instance);
    102102        CHECK_RET_RETURN(ret, "Failed to initialize transfer lists.\n");
    103         usb_log_debug("Transfer lists initialized.\n");
     103        usb_log_debug("Initialized transfer lists.\n");
    104104
    105105        /* frame list initialization */
    106         usb_log_debug("Initializing frame list.\n");
    107106        instance->frame_list = get_page();
    108107        ret = instance ? EOK : ENOMEM;
    109108        CHECK_RET_RETURN(ret, "Failed to get frame list page.\n");
     109        usb_log_debug("Initialized frame list.\n");
    110110
    111111        /* initialize all frames to point to the first queue head */
     
    205205int uhci_interrupt_emulator(void* arg)
    206206{
     207        return EOK;
    207208        usb_log_debug("Started interrupt emulator.\n");
    208209        uhci_t *instance = (uhci_t*)arg;
Note: See TracChangeset for help on using the changeset viewer.