Changeset 4166fb1 in mainline for uspace/drv/usbhub/usbhub.h


Ignore:
Timestamp:
2011-05-28T19:33:52Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5c1a65e
Parents:
151293d (diff), a066122c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge with usb/development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub.h

    r151293d r4166fb1  
    6161        usb_hub_port_t *ports;
    6262
     63        fibril_mutex_t port_mutex;
     64
    6365        /** connection to hcd */
    6466        usb_hc_connection_t connection;
     
    8991        /** generic usb device data*/
    9092        usb_device_t * usb_device;
     93
     94        /** Number of pending operations on the mutex to prevent shooting
     95         * ourselves in the foot.
     96         * When the hub is disconnected but we are in the middle of some
     97         * operation, we cannot destroy this structure right away because
     98         * the pending operation might use it.
     99         */
     100        size_t pending_ops_count;
     101        /** Guard for pending_ops_count. */
     102        fibril_mutex_t pending_ops_mutex;
     103        /** Condition variable for pending_ops_count. */
     104        fibril_condvar_t pending_ops_cv;
     105
    91106};
    92107
Note: See TracChangeset for help on using the changeset viewer.