Changeset d25e0a4 in mainline


Ignore:
Timestamp:
2011-10-31T12:30:22Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27ed734c
Parents:
b500d60a
Message:

ohci: OHCI root hub knows only its own address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci.c

    rb500d60a rd25e0a4  
    8686{
    8787        assert(fun);
    88         usb_device_manager_t *manager =
    89             &dev_to_ohci(fun->dev)->hc.generic.dev_manager;
    90 
    91         const usb_address_t addr =
    92             usb_device_manager_find_address(manager, handle);
    93         if (addr < 0) {
    94                 return addr;
    95         }
     88        assert(handle == 0);
    9689
    9790        if (address != NULL) {
    98                 *address = addr;
     91                *address = dev_to_ohci(fun->dev)->hc.rh.address;
    9992        }
    10093
Note: See TracChangeset for help on using the changeset viewer.