Changeset 81608b5 in mainline


Ignore:
Timestamp:
2011-03-19T17:47:28Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a763eb4
Parents:
f51594fa
Message:

EHCI: small fixes

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

Legend:

Unmodified
Added
Removed
  • uspace/drv/ehci-hcd/ehci.h

    rf51594fa r81608b5  
    3838#include <usbhc_iface.h>
    3939
     40#define NAME "ehci-hcd"
     41
    4042extern usbhc_iface_t ehci_hc_iface;
    4143
  • uspace/drv/ehci-hcd/main.c

    rf51594fa r81608b5  
    4646#include "ehci.h"
    4747
    48 #define NAME "ehci-hcd"
    49 
    5048static int ehci_add_device(ddf_dev_t *device);
    5149/*----------------------------------------------------------------------------*/
     
    7775}
    7876
    79         usb_log_info("uhci_add_device() called\n");
    80 
    8177        uintptr_t mem_reg_base = 0;
    8278        size_t mem_reg_size = 0;
     
    106102            str_error(ret));
    107103
     104        usb_log_info("Controlling new EHCI device `%s' (handle %llu).\n",
     105            device->name, device->handle);
     106
    108107        return EOK;
    109108#undef CHECK_RET_RETURN
     
    120119int main(int argc, char *argv[])
    121120{
    122         usb_log_enable(USB_LOG_LEVEL_ERROR, NAME);
     121        usb_log_enable(USB_LOG_LEVEL_DEBUG, NAME);
    123122        return ddf_driver_main(&ehci_driver);
    124123}
Note: See TracChangeset for help on using the changeset viewer.