Changeset b53ca1e in mainline for uspace/drv/usbhub/usbhub.c
- Timestamp:
- 2011-02-14T18:06:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 567d002
- Parents:
- 54d9058 (diff), bfe0eb5 (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/usbhub/usbhub.c
r54d9058 rb53ca1e 84 84 }*/ 85 85 86 result->usb_device = usb_new(usb_hcd_attached_device_info_t); 87 result->usb_device->address = addr; 86 result->address = addr; 88 87 89 88 // get hub descriptor … … 155 154 int opResult; 156 155 usb_target_t target; 157 target.address = hub_info-> usb_device->address;156 target.address = hub_info->address; 158 157 target.endpoint = 0; 159 158 … … 216 215 dprintf(USB_LOG_LEVEL_INFO, "hub dev added"); 217 216 dprintf(USB_LOG_LEVEL_DEBUG, "\taddress %d, has %d ports ", 218 hub_info-> usb_device->address,217 hub_info->address, 219 218 hub_info->port_count); 220 219 dprintf(USB_LOG_LEVEL_DEBUG, "\tused configuration %d",config_descriptor.configuration_number); … … 465 464 466 465 usb_target_t target; 467 target.address = hub_info-> usb_device->address;466 target.address = hub_info->address; 468 467 target.endpoint = 1;/// \TODO get from endpoint descriptor 469 468 dprintf(USB_LOG_LEVEL_INFO, "checking changes for hub at addr %d", … … 507 506 if (interrupt) { 508 507 usb_hub_process_interrupt( 509 hub_info, hc, port, hub_info-> usb_device->address);508 hub_info, hc, port, hub_info->address); 510 509 } 511 510 }
Note:
See TracChangeset
for help on using the changeset viewer.