Changeset d7ff048 in mainline for uspace/lib/usb/include/usb/classes/hub.h
- Timestamp:
- 2011-10-08T13:08:53Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf08ff0
- Parents:
- 8367d1d (diff), 80099c19 (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/lib/usb/include/usb/classes/hub.h
r8367d1d rd7ff048 72 72 uint8_t port_count; 73 73 /** Characteristics bitmask. */ 74 uint16_t characteristics; 74 uint8_t characteristics; 75 #define HUB_CHAR_POWER_PER_PORT_FLAG (1 << 0) 76 #define HUB_CHAR_NO_POWER_SWITCH_FLAG (1 << 1) 77 /* Unused part of characteristics field */ 78 uint8_t characteristics_reserved; 75 79 /** Time from power-on to stabilization of current on the port. */ 76 80 uint8_t power_good_time; … … 92 96 93 97 /** Number of downstream ports that this hub supports */ 94 uint8_t port s_count;98 uint8_t port_count; 95 99 96 100 /** … … 119 123 */ 120 124 uint16_t hub_characteristics; 121 #define HUB_CHAR_POWER_PER_PORT_FLAG (1 << 0)122 #define HUB_CHAR_NO_POWER_SWITCH_FLAG (1 << 1)123 125 124 126 /** … … 214 216 * Maximum size of usb hub descriptor in bytes 215 217 */ 216 extern size_t USB_HUB_MAX_DESCRIPTOR_SIZE; 217 218 219 220 221 222 218 /* 7 (basic size) + 2*32 (port bitmasks) */ 219 #define USB_HUB_MAX_DESCRIPTOR_SIZE 71 223 220 224 221 #endif
Note:
See TracChangeset
for help on using the changeset viewer.