Changeset 7034be15 in mainline for uspace/drv/vhc/hcd.c


Ignore:
Timestamp:
2010-11-19T23:00:31Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e27595b
Parents:
91db50ac
Message:

Various changes to HC driver framework API

Also, the root driver only registers VHC as its only child to clean-up
debug output from devman.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/hcd.c

    r91db50ac r7034be15  
    6666
    6767        dev->transfer_ops = &vhc_transfer_ops;
    68         /* Fail because of bug in libusb that caused devman to hang. */
    69         return ENOTSUP;
     68
     69        /*
     70         * Announce that we have some root hub present.
     71         */
     72        usb_hcd_add_root_hub(dev);
     73
     74        return EOK;
    7075}
    7176
     
    7782int main(int argc, char * argv[])
    7883{       
    79         /*
    80          * For debugging purpose to enable viewing the output
    81          * within devman tty.
    82          */
    83         sleep(5);
    84 
    8584        printf("%s: virtual USB host controller driver.\n", NAME);
    8685
Note: See TracChangeset for help on using the changeset viewer.