Changeset f5f0cfb in mainline for uspace/drv/bus/usb/vhc/devconn.c


Ignore:
Timestamp:
2012-12-22T16:24:28Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1e2af6a9
Parents:
f6577d9
Message:

vhc: Remove single instance limitation.

Embed hub vitrul device instead of using global instance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/devconn.c

    rf6577d9 rf5f0cfb  
    7979        if (connect) {
    8080                // FIXME: check status
    81                 (void) virthub_connect_device(vhc->hub, dev);
     81                (void) virthub_connect_device(&vhc->hub, dev);
    8282        }
    8383
     
    105105
    106106        // FIXME: check status
    107         (void) virthub_disconnect_device(vhc->hub, dev);
     107        (void) virthub_disconnect_device(&vhc->hub, dev);
    108108
    109109        fibril_mutex_lock(&vhc->guard);
Note: See TracChangeset for help on using the changeset viewer.