Changeset 129b821f in mainline for uspace/drv/bus/usb/ohci/main.c


Ignore:
Timestamp:
2018-01-20T12:34:50Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
682c9354
Parents:
60d3f35
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-20 12:33:42)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-20 12:34:50)
Message:

usbhub: be aware of its own speed

This resulted in a bunch of changes just because the roothubs in older
HC's are virtual, and need to be aware of their own speed too.

File:
1 edited

Legend:

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

    r60d3f35 r129b821f  
    4343
    4444#include <usb/debug.h>
    45 #include <usb/host/utility.h>
    4645
    4746#include "hc.h"
     
    5857        .claim = hc_gain_control,
    5958        .start = hc_start,
    60         .setup_root_hub = hc_setup_virtual_root_hub,
     59        .setup_root_hub = hc_setup_roothub,
    6160        .hc_gone = hc_gone,
    6261};
Note: See TracChangeset for help on using the changeset viewer.