Changeset 34c9cfc in mainline
- Timestamp:
- 2015-07-03T20:10:00Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 605db7f
- Parents:
- ce25903
- Location:
- uspace/drv/bus/usb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/endpoint_list.c
rce25903 r34c9cfc 62 62 63 63 list_initialize(&instance->endpoint_list); 64 usb_log_debug2("Transfer list %s setup with ED: %p(% x).\n",64 usb_log_debug2("Transfer list %s setup with ED: %p(%"PRIxn").\n", 65 65 name, instance->list_head, addr_to_phys(instance->list_head)); 66 66 … … 124 124 ep, instance->name, first, first->qh); 125 125 if (last_qh == instance->list_head) { 126 usb_log_debug2("%s head ED(%p-% x): %x:%x.\n",126 usb_log_debug2("%s head ED(%p-%"PRIxn"): %x:%x.\n", 127 127 instance->name, last_qh, addr_to_phys(instance->list_head), 128 128 last_qh->status, last_qh->horizontal); -
uspace/drv/bus/usb/usbhub/usbhub.c
rce25903 r34c9cfc 314 314 hub_dev->per_port_power ? "per port" : "ganged"); 315 315 316 for ( size_tport = 0; port < hub_dev->port_count; ++port) {317 usb_log_debug("(%p): Powering port % zu.", hub_dev, port);316 for (unsigned port = 0; port < hub_dev->port_count; ++port) { 317 usb_log_debug("(%p): Powering port %u.", hub_dev, port); 318 318 const int ret = usb_hub_port_set_feature( 319 319 &hub_dev->ports[port], USB_HUB_FEATURE_PORT_POWER); 320 320 321 321 if (ret != EOK) { 322 usb_log_error("(%p-% zu): Cannot power on port: %s.\n",322 usb_log_error("(%p-%u): Cannot power on port: %s.\n", 323 323 hub_dev, hub_dev->ports[port].port_number, 324 324 str_error(ret));
Note:
See TracChangeset
for help on using the changeset viewer.