Changeset db96017 in mainline for uspace/srv/devman/main.c


Ignore:
Timestamp:
2012-04-07T17:41:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b6913b7
Parents:
b69e4c0 (diff), 6bb169b5 (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.

File:
1 edited

Legend:

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

    rb69e4c0 rdb96017  
    634634                                fibril_rwlock_read_unlock(&device_tree.rwlock);
    635635                                dev_del_ref(dev);
     636                                if (gone_rc == EOK)
     637                                        gone_rc = ENOTSUP;
     638                                async_answer_0(callid, gone_rc);
    636639                                return;
    637640                        }
     
    13061309
    13071310        /*
    1308          * !!! devman_connection ... as the device manager is not a real loc
    1309          * driver (it uses a completely different ipc protocol than an ordinary
    1310          * loc driver) forwarding a connection from client to the devman by
    1311          * location service would not work.
     1311         * Caution: As the device manager is not a real loc
     1312         * driver (it uses a completely different IPC protocol
     1313         * than an ordinary loc driver), forwarding a connection
     1314         * from client to the devman by location service will
     1315         * not work.
    13121316         */
    1313         loc_server_register(NAME, devman_connection);
     1317        loc_server_register(NAME);
    13141318       
    13151319        return true;
     
    13221326        if (log_init(NAME, LVL_WARN) != EOK) {
    13231327                printf(NAME ": Error initializing logging subsystem.\n");
    1324                 return -1;
    1325         }
    1326 
    1327         if (!devman_init()) {
    1328                 log_msg(LVL_ERROR, "Error while initializing service.");
    13291328                return -1;
    13301329        }
     
    13351334        async_set_client_connection(devman_connection);
    13361335
     1336        if (!devman_init()) {
     1337                log_msg(LVL_ERROR, "Error while initializing service.");
     1338                return -1;
     1339        }
     1340
    13371341        /* Register device manager at naming service. */
    13381342        if (service_register(SERVICE_DEVMAN) != EOK) {
Note: See TracChangeset for help on using the changeset viewer.