Changeset 4087a33 in mainline for uspace/srv/devman/devman.c


Ignore:
Timestamp:
2010-11-21T16:57:53Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ee648a, 1fe9bf6
Parents:
3f8c1f7
Message:

Bypassed problem in devman id matching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.c

    r3f8c1f7 r4087a33  
    117117        printf(NAME": the '%s' driver was added to the list of available "
    118118            "drivers.\n", drv->name);
     119
     120        printf(NAME ": match ids:");
     121        link_t *cur;
     122        for (cur = drv->match_ids.ids.next; cur != &drv->match_ids.ids; cur = cur->next) {
     123                match_id_t *match_id = list_get_instance(cur, match_id_t, link);
     124                printf(" %d:%s", match_id->score, match_id->id);
     125        }
     126        printf("\n");
    119127}
    120128
Note: See TracChangeset for help on using the changeset viewer.