Changeset ca56afa in mainline for uspace/drv/uhci-rhd/port.c
- Timestamp:
- 2011-02-25T09:46:23Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d493ac17
- Parents:
- 15b0432 (diff), a80849c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.c
r15b0432 rca56afa 52 52 int uhci_port_init( 53 53 uhci_port_t *port, port_status_t *address, unsigned number, 54 unsigned usec, d evice_t *rh, int parent_phone)54 unsigned usec, ddf_dev_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 97 94 /* read register value */ 98 95 port_status_t port_status = … … 100 97 101 98 /* debug print */ 102 usb_log_ info("Port(%d) status %#.4x\n",103 port_instance->number, port_ status);99 usb_log_debug("Port %d status at %p: 0x%04x.\n", 100 port_instance->number, port_instance->address, port_status); 104 101 print_port_status(port_status); 105 102 … … 187 184 USB_SPEED_FULL, 188 185 new_device_enable_port, port->number, port, 189 &dev_addr, &port->attached_device );186 &dev_addr, &port->attached_device, NULL, NULL, NULL); 190 187 if (rc != EOK) { 191 188 usb_log_error("Failed adding new device on port %u: %s.\n",
Note:
See TracChangeset
for help on using the changeset viewer.