Changeset 0c05496 in mainline for uspace/app/usbinfo/main.c


Ignore:
Timestamp:
2010-12-12T13:46:21Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f3158c, a822cd8, b666608
Parents:
e7b9541 (diff), 7ed5b576 (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:

Merge vojtechhorky/ - child device registration

The changes are mostly about wrapper for adding USB child device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/usbinfo/main.c

    re7b9541 r0c05496  
    112112
    113113        /*
     114         * Dump information about possible match ids.
     115         */
     116        match_id_list_t match_id_list;
     117        init_match_ids(&match_id_list);
     118        rc = usb_drv_create_device_match_ids(hc_phone, &match_id_list, address);
     119        if (rc != EOK) {
     120                fprintf(stderr,
     121                    NAME ": failed to fetch match ids of the device: %s.\n",
     122                    str_error(rc));
     123                return rc;
     124        }
     125        dump_match_ids(&match_id_list);
     126
     127        /*
    114128         * Get device descriptor and dump it.
    115129         */
Note: See TracChangeset for help on using the changeset viewer.