Changes in uspace/drv/uhci-rhd/main.c [4125b7d:f9c03b5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/main.c
r4125b7d rf9c03b5 1 1 /* 2 * Copyright (c) 2011 Jan Vesely2 * Copyright (c) 2011 Vojtech Horky, Jan Vesely 3 3 * All rights reserved. 4 4 * … … 84 84 return EINVAL; 85 85 86 usb_log_debug2("uhci_rh_add_device(handle=%" PRIun ")\n", 87 device->handle); 86 usb_log_debug2("%s called device %d\n", __FUNCTION__, device->handle); 88 87 89 88 uintptr_t io_regs = 0; … … 102 101 ret = hc_get_my_registers(device, &io_regs, &io_size); 103 102 CHECK_RET_FREE_RH_RETURN(ret, 104 "Failed to get registers from HC: %s.\n", str_error(ret)); 105 usb_log_debug("I/O regs at %p (size %zuB).\n", 106 (void *) io_regs, io_size); 103 "Failed(%d) to get registers from HC: %s.\n", ret, str_error(ret)); 104 usb_log_debug("I/O regs at %#x (size %zu).\n", io_regs, io_size); 107 105 108 106 rh = malloc(sizeof(uhci_root_hub_t)); … … 117 115 118 116 device->driver_data = rh; 119 usb_log_info("Controlling root hub '%s' (% " PRIun ").\n",117 usb_log_info("Controlling root hub '%s' (%llu).\n", 120 118 device->name, device->handle); 121 119 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.