Changes in uspace/drv/uhci-rhd/port.c [87157982:9df965ec] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.c
r87157982 r9df965ec 52 52 int uhci_port_init( 53 53 uhci_port_t *port, port_status_t *address, unsigned number, 54 unsigned usec, d df_dev_t *rh, int parent_phone)54 unsigned usec, device_t *rh, int parent_phone) 55 55 { 56 56 assert(port); … … 92 92 93 93 while (1) { 94 usb_log_debug("Port(%d) status address %p:\n", 95 port_instance->number, port_instance->address); 96 94 97 /* read register value */ 95 98 port_status_t port_status = … … 97 100 98 101 /* debug print */ 99 usb_log_ debug("Port %d status at %p: 0x%04x.\n",100 port_instance->number, port_ instance->address, port_status);102 usb_log_info("Port(%d) status %#.4x\n", 103 port_instance->number, port_status); 101 104 print_port_status(port_status); 102 105 … … 184 187 USB_SPEED_FULL, 185 188 new_device_enable_port, port->number, port, 186 &dev_addr, &port->attached_device , NULL, NULL, NULL);189 &dev_addr, &port->attached_device); 187 190 if (rc != EOK) { 188 191 usb_log_error("Failed adding new device on port %u: %s.\n",
Note:
See TracChangeset
for help on using the changeset viewer.