Changeset 0063838 in mainline


Ignore:
Timestamp:
2011-02-26T09:29:50Z (13 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

Location:
uspace/drv/uhci-rhd
Files:
3 edited

Legend:

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

    reb292a0 r0063838  
    5454int uhci_port_init(
    5555  uhci_port_t *port, port_status_t *address, unsigned number,
    56   unsigned usec, ddf_dev_t *rh, int parent_phone)
     56  unsigned usec, ddf_dev_t *rh)
    5757{
    5858        assert(port);
  • uspace/drv/uhci-rhd/port.h

    reb292a0 r0063838  
    5555int uhci_port_init(
    5656  uhci_port_t *port, port_status_t *address, unsigned number,
    57   unsigned usec, ddf_dev_t *rh, int parent_phone);
     57  unsigned usec, ddf_dev_t *rh);
    5858
    5959void uhci_port_fini(uhci_port_t *port);
  • 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.