Changeset c245f16e in mainline for uspace/drv/test1/test1.c


Ignore:
Timestamp:
2010-12-01T23:59:40Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
18a6243
Parents:
398c4d7
Message:

Add another test for DDF

This test simulates hot-plug as child device is added outside the
add_device() function, after some time.

This test causes devman to dead-lock somewhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/test1/test1.c

    r398c4d7 rc245f16e  
    6666            match_id, match_score);
    6767
    68         if (rc != EOK) {
     68        if (rc == EOK) {
     69                printf(NAME ": registered child device `%s'.\n", name);
     70        } else {
    6971                printf(NAME ": failed to register child `%s' (%s).\n",
    7072                    name, str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.