Changeset 0063838 in mainline for uspace/drv/uhci-rhd/root_hub.c


Ignore:
Timestamp:
2011-02-26T09:29:50Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3de48b5
Parents:
eb292a0
Message:

Remove unused hc connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/root_hub.c

    reb292a0 r0063838  
    6666        unsigned i = 0;
    6767        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                 }
    7568                /* mind pointer arithmetics */
    7669                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);
    7871                if (ret != EOK) {
    7972                        unsigned j = 0;
Note: See TracChangeset for help on using the changeset viewer.