Changeset 30f9f8f in mainline for uspace/drv/vhc/hub/hub.h
- Timestamp:
- 2011-05-06T09:29:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9a884ed
- Parents:
- c709eb0 (diff), 310c4df (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/vhc/hub/hub.h
rc709eb0 r30f9f8f 72 72 } hub_status_change_t; 73 73 74 typedef struct hub hub_t; 75 74 76 /** Hub port information. */ 75 77 typedef struct { … … 82 84 /** Status change bitmap. */ 83 85 uint16_t status_change; 86 /** Containing hub. */ 87 hub_t *hub; 84 88 } hub_port_t; 85 89 86 90 /** Hub device type. */ 87 typedef struct{91 struct hub { 88 92 /** Hub ports. */ 89 93 hub_port_t ports[HUB_PORT_COUNT]; … … 92 96 /** Access guard to the whole hub. */ 93 97 fibril_mutex_t guard; 94 } hub_t; 98 /** Last value of status change bitmap. */ 99 bool signal_changes; 100 }; 95 101 96 102 void hub_init(hub_t *);
Note:
See TracChangeset
for help on using the changeset viewer.