Changeset 0c3666d in mainline for uspace/srv/devman/main.c


Ignore:
Timestamp:
2010-02-19T14:51:15Z (14 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
924c75e1
Parents:
e85920d
Message:

parts of device manager (unstable)

File:
1 edited

Legend:

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

    re85920d r0c3666d  
    5656#define DRIVER_DEFAULT_STORE  "/srv/drivers"
    5757
    58 LIST_INITIALIZE(drivers_list);
     58static driver_list_t drivers_list;
    5959static dev_tree_t device_tree;
    6060
     
    9292static bool devman_init()
    9393{
    94         printf(NAME ": devman_init - looking for available drivers. \n");
     94        printf(NAME ": devman_init - looking for available drivers. \n");       
    9595       
    9696        // initialize list of available drivers
     97        init_driver_list(&drivers_list);
    9798        if (0 == lookup_available_drivers(&drivers_list, DRIVER_DEFAULT_STORE)) {
    9899                printf(NAME " no drivers found.");
     
    110111}
    111112
    112 /**
    113  *
    114  */
    115113int main(int argc, char *argv[])
    116114{
Note: See TracChangeset for help on using the changeset viewer.