Changeset 9620a54 in mainline for uspace/drv/bus/usb/xhci/transfers.c
- Timestamp:
- 2017-10-29T10:51:59Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d33dc780
- Parents:
- 62f8025
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/transfers.c
r62f8025 r9620a54 265 265 xhci_device_t *dev = hc->bus.devices_by_slot[slot_id]; 266 266 if (!dev) { 267 usb_log_error("Transfer event on unknown device slot %u!", slot_id);267 usb_log_error("Transfer event on disabled slot %u", slot_id); 268 268 return ENOENT; 269 269 } … … 272 272 xhci_endpoint_t *ep = xhci_device_get_endpoint(dev, ep_num); 273 273 if (!ep) { 274 usb_log_error("Transfer event on unknown endpoint num %u, device slot %u!", ep_num, slot_id); 274 usb_log_error("Transfer event on dropped endpoint %u of device " 275 XHCI_DEV_FMT, ep_num, XHCI_DEV_ARGS(*dev)); 275 276 return ENOENT; 276 277 } … … 322 323 // FIXME: find a better way to check if the ring is not initialized 323 324 if (!xhci_ep->ring.segment_count) { 324 usb_log_error("Ring not initialized for endpoint num %u!", xhci_ep->base.endpoint); 325 usb_log_error("Ring not initialized for endpoint " XHCI_EP_FMT, 326 XHCI_EP_ARGS(*xhci_ep)); 325 327 return EINVAL; 326 328 }
Note:
See TracChangeset
for help on using the changeset viewer.