Changeset 692c40cb in mainline for uspace/lib/c/include/devman.h


Ignore:
Timestamp:
2010-05-28T09:04:37Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5159ae9
Parents:
c9f3b45c
Message:

Introduce device classes.Device class specifies functional type of the device. Device classes are identified by their string names (actually device class is just a string value). Device classes can be dynamically added. A device can be added to any number of classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/devman.h

    rc9f3b45c r692c40cb  
    5353int devman_device_get_handle(const char *pathname, device_handle_t *handle, unsigned int flags);
    5454
     55int devman_add_device_to_class(device_handle_t dev_handle, const char *class_name);
    5556
    5657#endif
Note: See TracChangeset for help on using the changeset viewer.