Changes in uspace/drv/usbhub/usbhub.h [7d521e24:af6136d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.h
r7d521e24 raf6136d 61 61 usb_hub_port_t *ports; 62 62 63 fibril_mutex_t port_mutex; 64 63 65 /** connection to hcd */ 64 66 usb_hc_connection_t connection; … … 89 91 /** generic usb device data*/ 90 92 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 91 106 }; 92 107
Note:
See TracChangeset
for help on using the changeset viewer.