Changeset a5b3de6 in mainline for uspace/drv/bus/usb/xhci/bus.c
- Timestamp:
- 2017-10-25T11:55:15Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b35478
- Parents:
- c3d926f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/bus.c
rc3d926f ra5b3de6 63 63 { 64 64 /* Extract information from endpoint_desc */ 65 ep->base.target = (usb_target_t) {{ 66 .address = ep->base.device->address, 67 .endpoint = desc->endpoint_no, 68 }}; 65 ep->base.endpoint = desc->endpoint_no; 69 66 ep->base.direction = desc->direction; 70 67 ep->base.transfer_type = desc->transfer_type; … … 109 106 110 107 /* Register EP0, passing Temporary reference */ 111 ep0->base.target.address = dev->base.address;112 108 dev->endpoints[0] = ep0; 113 109 … … 254 250 return err; 255 251 256 usb_log_info("Endpoint(%d:%d) registered to XHCI bus.", ep-> target.address, ep->target.endpoint);252 usb_log_info("Endpoint(%d:%d) registered to XHCI bus.", ep->device->address, ep->endpoint); 257 253 return xhci_device_add_endpoint(xhci_dev, xhci_ep); 258 254 } … … 263 259 assert(bus); 264 260 265 usb_log_info("Endpoint(%d:%d) unregistered from XHCI bus.", ep-> target.address, ep->target.endpoint);261 usb_log_info("Endpoint(%d:%d) unregistered from XHCI bus.", ep->device->address, ep->endpoint); 266 262 267 263 xhci_device_t *xhci_dev = xhci_device_get(ep->device);
Note:
See TracChangeset
for help on using the changeset viewer.