Changeset 18e35a7 in mainline for uspace/drv/uhci/uhci.c


Ignore:
Timestamp:
2010-12-18T15:40:36Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f088c00
Parents:
3515533
Message:

root hub detection of devices works

TODO: assign correct match ids before reporting
TODO: communicate new address to the device

File:
1 edited

Legend:

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

    r3515533 r18e35a7  
    11#include <errno.h>
    22#include <usb/debug.h>
     3#include <usb/usb.h>
    34
    45#include "name.h"
     
    1617                { return ENOMEM; }
    1718        memset( instance, 0, sizeof(uhci_t) );
     19
     20        /* init address keeper(libusb) */
     21        usb_address_keeping_init( &instance->address_manager, USB11_ADDRESS_MAX );
    1822
    1923        /* allow access to hc control registers */
Note: See TracChangeset for help on using the changeset viewer.