Ignore:
File:
1 edited

Legend:

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

    r71ed4849 rb00163f  
    11/*
    2  * Copyright (c) 2010 Vojtech Horky
     2 * Copyright (c) 2010 Vojtech Horky, Jan Vesely
    33 * All rights reserved.
    44 *
     
    2828#include <usb/hcdhubd.h>
    2929#include <usb_iface.h>
    30 #include <usb/debug.h>
    3130#include <errno.h>
    32 #include <driver.h>
     31
     32#include "debug.h"
     33#include "iface.h"
     34#include "name.h"
    3335#include "uhci.h"
    3436
     
    5355static int uhci_add_device(device_t *device)
    5456{
    55         usb_dprintf(NAME, 1, "uhci_add_device() called\n");
     57        uhci_print_info( "uhci_add_device() called\n" );
    5658        device->ops = &uhci_ops;
    5759
    58         /*
    59          * We need to announce the presence of our root hub.
    60          */
    61         usb_dprintf(NAME, 2, "adding root hub\n");
    62         usb_hcd_add_root_hub(device);
     60        // TODO: get this value out of pci driver
     61        uhci_init(device, (void*)0xc020);
    6362
    6463        return EOK;
     
    8079         */
    8180        sleep(5);
    82         usb_dprintf_enable(NAME, 5);
     81        usb_dprintf_enable(NAME, DEBUG_LEVEL_MAX);
    8382
    8483        return driver_main(&uhci_driver);
Note: See TracChangeset for help on using the changeset viewer.