Changeset 70e5ad5 in mainline for uspace/drv/vhc/hub/hub.h
- Timestamp:
- 2010-12-16T11:12:31Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11658b64, 5863a95
- Parents:
- cea3fca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/hub/hub.h
rcea3fca r70e5ad5 31 31 */ 32 32 /** @file 33 * @brief 33 * @brief Representation of an USB hub. 34 34 */ 35 35 #ifndef VHC_HUB_HUB_H_ … … 72 72 /** Hub port information. */ 73 73 typedef struct { 74 /** Custom pointer to connected device. */ 74 75 void *connected_device; 76 /** Port index (one based). */ 75 77 size_t index; 78 /** Port state. */ 76 79 hub_port_state_t state; 80 /** Status change bitmap. */ 77 81 uint16_t status_change; 78 82 } hub_port_t; … … 80 84 /** Hub device type. */ 81 85 typedef struct { 86 /** Hub ports. */ 82 87 hub_port_t ports[HUB_PORT_COUNT]; 88 /** Custom hub data. */ 83 89 void *custom_data; 90 /** Access guard to the whole hub. */ 84 91 fibril_mutex_t guard; 85 92 } hub_t;
Note:
See TracChangeset
for help on using the changeset viewer.