Changeset a5b3de6 in mainline for uspace/drv/bus/usb/uhci
- Timestamp:
- 2017-10-25T11:55:15Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b35478
- Parents:
- c3d926f3
- Location:
- uspace/drv/bus/usb/uhci
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
rc3d926f3 ra5b3de6 461 461 assert(batch); 462 462 463 if (batch-> ep->target.address == uhci_rh_get_address(&instance->rh))463 if (batch->target.address == uhci_rh_get_address(&instance->rh)) 464 464 return uhci_rh_schedule(&instance->rh, batch); 465 465 -
uspace/drv/bus/usb/uhci/uhci_batch.c
rc3d926f3 ra5b3de6 222 222 uhci_batch->base.ep->speed == USB_SPEED_LOW; 223 223 const size_t mps = uhci_batch->base.ep->max_packet_size; 224 const usb_target_t target = uhci_batch->base.ep->target;225 224 226 225 int toggle = endpoint_toggle_get(uhci_batch->base.ep); … … 240 239 td_init( 241 240 &uhci_batch->tds[td], DEFAULT_ERROR_COUNT, packet_size, 242 toggle, false, low_speed, target, pid, buffer, next_td);241 toggle, false, low_speed, uhci_batch->base.target, pid, buffer, next_td); 243 242 244 243 ++td; … … 285 284 uhci_batch->base.ep->speed == USB_SPEED_LOW; 286 285 const size_t mps = uhci_batch->base.ep->max_packet_size; 287 const usb_target_t target = uhci_batch->base. ep->target;286 const usb_target_t target = uhci_batch->base.target; 288 287 289 288 /* setup stage */ -
uspace/drv/bus/usb/uhci/uhci_rh.c
rc3d926f3 ra5b3de6 104 104 assert(batch); 105 105 106 const usb_target_t target = batch->ep->target;107 106 do { 108 batch->error = virthub_base_request(&instance->base, target,107 batch->error = virthub_base_request(&instance->base, batch->target, 109 108 batch->dir, (void*) batch->setup.buffer, 110 109 batch->buffer, batch->buffer_size, &batch->transfered_size);
Note:
See TracChangeset
for help on using the changeset viewer.
