Changeset 96323d2 in mainline for uspace/drv/bus/usb/usbhub/port.h
- Timestamp:
- 2015-07-01T02:56:08Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b303275
- Parents:
- c4ba645d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.h
rc4ba645d r96323d2 52 52 /** CV for waiting to port reset completion. */ 53 53 fibril_condvar_t reset_cv; 54 /** Whether port reset is completed.54 /** Port reset status. 55 55 * Guarded by @c reset_mutex. 56 56 */ 57 bool reset_completed; 58 /** Whether to announce the port reset as successful. */ 59 bool reset_okay; 57 enum { 58 NO_RESET, 59 IN_RESET, 60 RESET_OK, 61 RESET_FAIL, 62 } reset_status; 60 63 /** Device reported to USB bus driver */ 61 64 bool device_attached; … … 72 75 port->port_number = port_number; 73 76 port->control_pipe = control_pipe; 74 port->reset_completed = false; 75 port->reset_okay = false; 77 port->reset_status = NO_RESET; 76 78 port->device_attached = false; 77 79 fibril_mutex_initialize(&port->mutex);
Note:
See TracChangeset
for help on using the changeset viewer.