Changeset 02804e1 in mainline for uspace/drv/vhc/main.c


Ignore:
Timestamp:
2011-05-07T13:56:30Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7205209
Parents:
6fb003e (diff), df0bbe1 (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.
Message:

Add lsusb, usbinfo accepts HC number and address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/main.c

    r6fb003e r02804e1  
    104104        }
    105105
    106         ddf_fun_add_to_class(hc, "usbhc");
     106        rc = ddf_fun_add_to_class(hc, USB_HC_DDF_CLASS_NAME);
     107        if (rc != EOK) {
     108                usb_log_fatal("Failed to add function to HC class: %s.\n",
     109                    str_error(rc));
     110                free(data);
     111                return rc;
     112        }
    107113
    108114        virtual_hub_device_init(hc);
Note: See TracChangeset for help on using the changeset viewer.