Changeset 3515533 in mainline for uspace/drv/uhci/main.c


Ignore:
Timestamp:
2010-12-17T22:07:41Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
18e35a7
Parents:
6b5f3b0
Message:

start of coding

root hub driver checks for devices
all addresses are hardcoded

File:
1 edited

Legend:

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

    r6b5f3b0 r3515533  
    11/*
    2  * Copyright (c) 2010 Vojtech Horky
     2 * Copyright (c) 2010 Vojtech Horky, Jan Vesely
    33 * All rights reserved.
    44 *
     
    2929#include <usb/debug.h>
    3030#include <errno.h>
    31 #include <driver.h>
     31
     32#include "iface.h"
     33#include "name.h"
    3234#include "uhci.h"
     35
    3336
    3437static device_ops_t uhci_ops = {
     
    4144        device->ops = &uhci_ops;
    4245
     46        uhci_init( device, (void*)0xc020 );
     47
    4348        /*
    4449         * We need to announce the presence of our root hub.
    4550         */
    46         usb_dprintf(NAME, 2, "adding root hub\n");
    47         usb_hcd_add_root_hub(device);
     51//      usb_dprintf(NAME, 2, "adding root hub\n");
     52//      usb_hcd_add_root_hub(device);
    4853
    4954        return EOK;
     
    6469         * Do some global initializations.
    6570         */
    66         sleep(5);
     71        sleep( 5);
    6772        usb_dprintf_enable(NAME, 5);
    6873
Note: See TracChangeset for help on using the changeset viewer.