Changeset 8d3cd30 in mainline
- Timestamp:
- 2011-09-23T09:52:47Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b3433a2
- Parents:
- 75eb6735
- Location:
- uspace/drv/bus/usb/usbhub
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/usbhub.c
r75eb6735 r8d3cd30 155 155 return EOK; 156 156 } 157 157 /*----------------------------------------------------------------------------*/ 158 158 /** Callback for polling hub for changes. 159 159 * … … 196 196 return true; 197 197 } 198 199 200 //********************************************* 201 // 202 // support functions 203 // 204 //********************************************* 205 198 /*----------------------------------------------------------------------------*/ 206 199 /** 207 200 * create usb_hub_info_t structure … … 220 213 info->usb_device = usb_dev; 221 214 info->control_pipe = &usb_dev->ctrl_pipe; 222 info->is_default_address_used = false;223 215 224 216 info->ports = NULL; … … 231 223 return info; 232 224 } 233 225 /*----------------------------------------------------------------------------*/ 234 226 /** 235 227 * Load hub-specific information into hub_info structure and process if needed -
uspace/drv/bus/usb/usbhub/usbhub.h
r75eb6735 r8d3cd30 64 64 usb_hc_connection_t connection; 65 65 66 /** default address is used indicator67 *68 * If default address is requested by this device, it cannot69 * be requested by the same hub again, otherwise a deadlock will occur.70 */71 bool is_default_address_used;72 73 66 /** Convenience pointer to control pipe 74 67 *
Note:
See TracChangeset
for help on using the changeset viewer.