Changeset 9620a54 in mainline for uspace/drv/bus/usb/xhci/rh.c
- Timestamp:
- 2017-10-29T10:51:59Z (8 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/rh.c
r62f8025 r9620a54 119 119 120 120 if ((err = ddf_fun_bind(dev->fun))) { 121 usb_log_error("Device(%d): Failed to register: %s.", dev->address, str_error(err)); 121 usb_log_error("Failed to register device " XHCI_DEV_FMT " DDF function: %s.", 122 XHCI_DEV_ARGS(*xhci_dev), str_error(err)); 122 123 goto err_usb_dev; 123 124 } … … 185 186 } 186 187 187 usb_log_info("Device '%s' at port %u has been disconnected.", ddf_fun_get_name(dev->base.fun), port_id); 188 usb_log_info("Device " XHCI_DEV_FMT " at port %u has been disconnected.", 189 XHCI_DEV_ARGS(*dev), port_id); 188 190 189 191 /* Mark the device as detached. */ … … 195 197 /* Remove device from XHCI bus. */ 196 198 if ((err = xhci_bus_remove_device(&rh->hc->bus, rh->hc, &dev->base))) { 197 usb_log_warning("Failed to remove device '%s'from XHCI bus: %s",198 ddf_fun_get_name(dev->base.fun), str_error(err));199 usb_log_warning("Failed to remove device " XHCI_DEV_FMT " from XHCI bus: %s", 200 XHCI_DEV_ARGS(*dev), str_error(err)); 199 201 } 200 202
Note:
See TracChangeset
for help on using the changeset viewer.