Changes in uspace/drv/usbhub/usbhub.c [28cb8bf7:4e8e1f5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r28cb8bf7 r4e8e1f5 84 84 }*/ 85 85 86 result->address = addr; 86 result->usb_device = usb_new(usb_hcd_attached_device_info_t); 87 result->usb_device->address = addr; 87 88 88 89 // get hub descriptor … … 154 155 int opResult; 155 156 usb_target_t target; 156 target.address = hub_info-> address;157 target.address = hub_info->usb_device->address; 157 158 target.endpoint = 0; 158 159 … … 215 216 dprintf(USB_LOG_LEVEL_INFO, "hub dev added"); 216 217 dprintf(USB_LOG_LEVEL_DEBUG, "\taddress %d, has %d ports ", 217 hub_info-> address,218 hub_info->usb_device->address, 218 219 hub_info->port_count); 219 220 dprintf(USB_LOG_LEVEL_DEBUG, "\tused configuration %d",config_descriptor.configuration_number); … … 464 465 465 466 usb_target_t target; 466 target.address = hub_info-> address;467 target.address = hub_info->usb_device->address; 467 468 target.endpoint = 1;/// \TODO get from endpoint descriptor 468 469 dprintf(USB_LOG_LEVEL_INFO, "checking changes for hub at addr %d", … … 506 507 if (interrupt) { 507 508 usb_hub_process_interrupt( 508 hub_info, hc, port, hub_info-> address);509 hub_info, hc, port, hub_info->usb_device->address); 509 510 } 510 511 }
Note:
See TracChangeset
for help on using the changeset viewer.