Changeset 3f03199 in mainline for uspace/app/usbinfo


Ignore:
Timestamp:
2013-09-15T06:33:53Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9348862
Parents:
dd7078c (diff), 1c0cef0 (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 mainline changes.

Major conflicts in USB HC drivers.
Compiles and UHCI works (qemu).
OHCI has device remove problems.

Location:
uspace/app/usbinfo
Files:
2 edited

Legend:

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

    rdd7078c r3f03199  
    103103void dump_match_ids(match_id_list_t *matches, const char *line_prefix)
    104104{
    105         list_foreach(matches->ids, link) {
    106                 match_id_t *match = list_get_instance(link, match_id_t, link);
    107 
     105        list_foreach(matches->ids, link, match_id_t, match) {
    108106                printf("%s%3d %s\n", line_prefix, match->score, match->id);
    109107        }
  • uspace/app/usbinfo/hid.c

    rdd7078c r3f03199  
    101101        printf("%sParsed HID report descriptor for interface %d\n",
    102102            get_indent(0), iface_no);
    103         list_foreach(report->reports, report_it) {
    104                 usb_hid_report_description_t *description = list_get_instance(
    105                     report_it, usb_hid_report_description_t, reports_link);
     103        list_foreach(report->reports, reports_link,
     104            usb_hid_report_description_t, description) {
    106105                printf("%sReport %d (type %d)\n", get_indent(1),
    107106                    (int) description->report_id,
    108107                    (int) description->type);
    109                 list_foreach(description->report_items, item_it) {
    110                         usb_hid_report_field_t *field = list_get_instance(
    111                             item_it, usb_hid_report_field_t, ritems_link);
     108                list_foreach(description->report_items, ritems_link,
     109                    usb_hid_report_field_t, field) {
    112110                        printf("%sUsage page = 0x%04x    Usage = 0x%04x\n",
    113111                            get_indent(2),
Note: See TracChangeset for help on using the changeset viewer.