Changeset 4317827 in mainline for uspace/lib/usb/src/hcdrv.c


Ignore:
Timestamp:
2010-12-04T14:00:41Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36c410e
Parents:
62c9661
Message:

USB hub driver in separate task

The commit only includes changes necessary to get working (i.e. appearing
under /dev/devices) hub and VHC.

Clean-up will come later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hcdrv.c

    r62c9661 r4317827  
    4747LIST_INITIALIZE(hc_list);
    4848
     49/* Fake driver to have the name item initialized. */
     50static usb_hc_driver_t hc_driver_fake = {
     51        .name = "HCD",
     52};
     53
    4954/** Our HC driver. */
    50 usb_hc_driver_t *hc_driver = NULL;
     55usb_hc_driver_t *hc_driver = &hc_driver_fake;
    5156
    5257static device_ops_t usb_device_ops = {
     
    7176int usb_add_hc_device(device_t *dev)
    7277{
     78        return ENOTSUP;
    7379        usb_hc_device_t *hc_dev = usb_hc_device_create(dev);
    7480
Note: See TracChangeset for help on using the changeset viewer.