Changeset 0063838 in mainline for uspace/drv/uhci-rhd/root_hub.c
- Timestamp:
- 2011-02-26T09:29:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3de48b5
- Parents:
- eb292a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/root_hub.c
reb292a0 r0063838 66 66 unsigned i = 0; 67 67 for (; i < UHCI_ROOT_HUB_PORT_COUNT; ++i) { 68 /* connect to the parent device (HC) */69 int parent_phone = devman_device_connect(instance->hc_handle, 0);70 //usb_drv_hc_connect(rh, instance->hc_handle, 0);71 if (parent_phone < 0) {72 usb_log_error("Failed to connect to the HC device port %d.\n", i);73 return parent_phone;74 }75 68 /* mind pointer arithmetics */ 76 69 int ret = uhci_port_init( 77 &instance->ports[i], regs + i, i, ROOT_HUB_WAIT_USEC, rh , parent_phone);70 &instance->ports[i], regs + i, i, ROOT_HUB_WAIT_USEC, rh); 78 71 if (ret != EOK) { 79 72 unsigned j = 0;
Note:
See TracChangeset
for help on using the changeset viewer.